mirror of
https://github.com/TeamPiped/reqwest4j.git
synced 2024-08-14 23:54:39 +00:00
Sign archives before publish.
This commit is contained in:
parent
b48c59f40f
commit
574c384bf1
2 changed files with 8 additions and 1 deletions
4
.github/workflows/publish-maven.yml
vendored
4
.github/workflows/publish-maven.yml
vendored
|
@ -25,8 +25,10 @@ jobs:
|
|||
distribution: temurin
|
||||
check-latest: true
|
||||
cache: "gradle"
|
||||
- name: Save Private Key
|
||||
run: echo -n "${{ secrets.MAVEN_GPG_PRIVATE_KEY }}" | base64 -d > secring.gpg
|
||||
- name: Run Build
|
||||
run: ./gradlew publish
|
||||
run: ./gradlew publish -Psigning.keyId=B4701DB2 -Psigning.password="${{ secrets.MAVEN_GPG_PASS }}" -Psigning.secretKeyRingFile=secring.gpg
|
||||
env:
|
||||
USERNAME: ${{ secrets.MAVEN_USERNAME }}
|
||||
PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue