Skip to content

Commit 70c0834

Browse files
traskanuraaga
andauthored
Fix snapshot publishing (#276)
Co-authored-by: Anuraag Agrawal <[email protected]>
1 parent 7272a86 commit 70c0834

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,10 @@ jobs:
8181
distribution: temurin
8282
java-version: 17
8383

84-
- uses: gradle/gradle-build-action@v2
85-
name: Publish
84+
- name: Build and publish snapshots
85+
uses: gradle/gradle-build-action@v2
8686
with:
87-
arguments: snapshot
87+
arguments: assemble publishToSonatype
8888
env:
8989
SONATYPE_USER: ${{ secrets.SONATYPE_USER }}
9090
SONATYPE_KEY: ${{ secrets.SONATYPE_KEY }}

0 commit comments

Comments
 (0)