Skip to content

Commit d6dc637

Browse files
committed
NO-ISSUE: fix Quarkus Snapshot pipeline
Signed-off-by: Ricardo Zanini <[email protected]>
1 parent e137f1e commit d6dc637

File tree

1 file changed

+18
-29
lines changed

1 file changed

+18
-29
lines changed
Lines changed: 18 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,28 @@
1-
name: Snapshot Deploy
1+
name: Deploy Snapshot
22

3-
concurrency:
4-
group: ${{ github.ref }}-${{ github.workflow }}
5-
cancel-in-progress: true
63
on:
74
workflow_dispatch:
8-
push:
9-
branches: [ main ]
5+
# push:
6+
# branches: [ main ]
107

118
defaults:
129
run:
1310
shell: bash
1411

15-
jobs:
16-
deploy-snapshot:
17-
runs-on: ubuntu-latest
18-
name: Deploy Snapshot artifacts
19-
steps:
20-
- uses: actions/checkout@v4
12+
permissions:
13+
attestations: write
14+
id-token: write
15+
contents: read
2116

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
17+
concurrency:
18+
group: ${{ github.workflow }}-${{ github.ref }}
19+
cancel-in-progress: true
3220

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 }}
21+
jobs:
22+
deploy-snapshot:
23+
name: Deploy Snapshots
24+
uses: quarkiverse/.github/.github/workflows/perform-release.yml@main
25+
secrets: inherit
26+
with:
27+
ref: main
28+
version: 999-SNAPSHOT

0 commit comments

Comments
 (0)