File tree Expand file tree Collapse file tree 1 file changed +12
-23
lines changed Expand file tree Collapse file tree 1 file changed +12
-23
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ name: Snapshot Deploy
33concurrency :
44 group : ${{ github.ref }}-${{ github.workflow }}
55 cancel-in-progress : true
6+
67on :
78 workflow_dispatch :
89 push :
@@ -12,28 +13,16 @@ defaults:
1213 run :
1314 shell : bash
1415
16+ permissions :
17+ attestations : write
18+ id-token : write
19+ contents : read
20+
1521jobs :
1622 deploy-snapshot :
17- runs-on : ubuntu-latest
18- name : Deploy Snapshot artifacts
19- steps :
20- - uses : actions/checkout@v4
21-
22- - uses : actions/setup-java@v4
23- with :
24- distribution : ' temurin'
25- java-version : 17
26- cache : ' maven'
27- server-id : ' ossrh'
28- server-username : MAVEN_USERNAME
29- server-password : MAVEN_PASSWORD
30- gpg-private-key : ${{ secrets.GPG_PRIVATE_KEY }}
31- gpg-passphrase : MAVEN_GPG_PASSPHRASE
32-
33- - name : Deploy ${{steps.metadata.outputs.next-version}}
34- run : |
35- mvn -B clean deploy -DskipTests -DperformRelease=true -Drelease
36- env :
37- MAVEN_USERNAME : ${{ secrets.OSSRH_USERNAME }}
38- MAVEN_PASSWORD : ${{ secrets.OSSRH_TOKEN }}
39- MAVEN_GPG_PASSPHRASE : ${{ secrets.GPG_PASSPHRASE }}
23+ name : Deploy Snapshots
24+ uses : quarkiverse/.github/.github/workflows/perform-release.yml@main
25+ secrets : inherit
26+ with :
27+ ref : main
28+ version : 3.0.0-SNAPSHOT
You can’t perform that action at this time.
0 commit comments