Skip to content

Commit

Permalink
Restructure ci
Browse files Browse the repository at this point in the history
  • Loading branch information
z4kn4fein committed Jan 24, 2023
1 parent de77a27 commit 0b88218
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/android-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ jobs:
run: ./gradlew test

coverage-scan:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -81,7 +80,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

deploy-snapshot:
needs: coverage-scan
needs: [ coverage-scan, test ]
if: ${{ github.ref == 'refs/heads/master' }}
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -112,7 +111,7 @@ jobs:
ORG_GRADLE_PROJECT_SIGNING_PASSPHRASE: ${{ secrets.PASSPHRASE }}

deploy-release:
needs: coverage-scan
needs: [ coverage-scan, test ]
if: startsWith(github.ref, 'refs/tags')
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 0b88218

Please sign in to comment.