Skip to content

Commit

Permalink
Fixed order of snapshot publishing and build
Browse files Browse the repository at this point in the history
  • Loading branch information
gavlyukovskiy committed Dec 19, 2021
1 parent d411c61 commit 3ee8b66
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/on-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ jobs:
restore-keys: |
${{ runner.os }}-gradle-cache-
- name: Build with Gradle
run: ./gradlew build

- name: Upload snapshot artifacts to Sonatype
id: upload_snapshot_artifacts
env:
Expand All @@ -42,6 +45,3 @@ jobs:
GPG_KEY: ${{ secrets.GPG_KEY }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
run: ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository

- name: Build with Gradle
run: ./gradlew build

0 comments on commit 3ee8b66

Please sign in to comment.