We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b97dcd commit 687c2adCopy full SHA for 687c2ad
1 file changed
.github/workflows/publish.yml
@@ -0,0 +1,25 @@
1
+name: Gradle Check
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request_target:
8
+ types: [ opened, synchronize ]
9
10
+jobs:
11
+ publish:
12
+ uses: sava-software/sava-build/.github/workflows/publish.yml@main
13
+ secrets: inherit
14
15
+ github-publish:
16
+ runs-on: ubuntu-latest
17
+ steps:
18
+ - name: Publish Github Packages
19
+ run: ./gradlew --stacktrace -Psign=true -PjavaVersion=${{ needs.publish.outputs.java-version }} -Pversion=${{ github.ref_name }} :json-iterator:publish
20
+ env:
21
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22
+ GPG_PUBLISH_PK: ${{ secrets.GPG_PUBLISH_PK }}
23
+ GPG_PUBLISH_PF: ${{ secrets.GPG_PUBLISH_PF }}
24
+ MAVEN_CENTRAL_TOKEN: ${{ secrets.MAVEN_CENTRAL_TOKEN }}
25
+ MAVEN_CENTRAL_SECRET: ${{ secrets.MAVEN_CENTRAL_SECRET }}
0 commit comments