Skip to content

Commit 3ee8b66

Browse files
committed
Fixed order of snapshot publishing and build
1 parent d411c61 commit 3ee8b66

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/on-master.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ jobs:
3434
restore-keys: |
3535
${{ runner.os }}-gradle-cache-
3636
37+
- name: Build with Gradle
38+
run: ./gradlew build
39+
3740
- name: Upload snapshot artifacts to Sonatype
3841
id: upload_snapshot_artifacts
3942
env:
@@ -42,6 +45,3 @@ jobs:
4245
GPG_KEY: ${{ secrets.GPG_KEY }}
4346
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
4447
run: ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository
45-
46-
- name: Build with Gradle
47-
run: ./gradlew build

0 commit comments

Comments
 (0)