Skip to content

Commit 86bf49f

Browse files
committed
Fixed snapshot github actions
1 parent 6bcc984 commit 86bf49f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242

4343
- name: Publish snapshot to maven
4444
if: github.event_name == 'push'
45-
run: ./gradlew publish -PmavenType=snapshots -PcommitHash=SNAPSHOT -PmavenUsername=${{ secrets.MAVEN_USER }} -PmavenPassword=${{ secrets.MAVEN_TOKEN }}
45+
run: ./gradlew publish -PmavenType=snapshots -PcommitHash=${{ env.COMMIT_HASH }}) -PmavenUsername=${{ secrets.MAVEN_USER }} -PmavenPassword=${{ secrets.MAVEN_TOKEN }}
4646

4747
- name: Generate Summary
4848
if: steps.upload.conclusion == 'success' && github.event_name == 'push'

0 commit comments

Comments
 (0)