We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 53cbb31 commit 8a412e0Copy full SHA for 8a412e0
.github/workflows/build.yml
@@ -37,17 +37,13 @@ jobs:
37
id: get_commit
38
run: echo "commit_hash=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
39
40
- - name: Build with Gradle
41
- run: ./gradlew build
42
- env:
43
- COMMIT_HASH: ${{ steps.get_commit.outputs.commit_hash }}
44
-
45
- name: Build and publish with Gradle
46
- run: ./gradlew publish
+ run: ./gradlew build publish
47
env:
48
MAVEN_URL: ${{ secrets.MAVEN_SNAPSHOTS_URL }}
49
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
50
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
+ COMMIT_HASH: ${{ steps.get_commit.outputs.commit_hash }}
51
52
- uses: actions/upload-artifact@v4
53
with:
0 commit comments