Skip to content

Commit

Permalink
Update release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
romainbsl committed May 23, 2024
1 parent 34eee24 commit e60207c
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,15 @@ on:
types: [published]

jobs:
unit-tests:
uses: kosi-libs/kodein-internal-github-actions/.github/workflows/unit-tests.yml@main
instrumentation-tests:
uses: kosi-libs/kodein-internal-github-actions/.github/workflows/check-with-android.yml@main

create-staging-repository:
needs:
- unit-tests
- instrumentation-tests
uses: kosi-libs/kodein-internal-github-actions/.github/workflows/create-nexus-staging-repository.yml@main
secrets: inherit

Expand All @@ -20,8 +28,6 @@ jobs:
steps:
- name: Setup
uses: kosi-libs/kodein-internal-github-actions/setup@main
- name: Check with Android
uses: kosi-libs/kodein-internal-github-actions/.github/workflows/check-with-android.yml@main
- name: Upload
run: ./gradlew publishAllPublicationsToOssrhStagingRepository -Porg.kodein.sonatype.repositoryId=${{ needs.create-staging-repository.outputs.repository-id }}
shell: bash
Expand Down

0 comments on commit e60207c

Please sign in to comment.