We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8d3f32f + 830bd51 commit 0c5d91dCopy full SHA for 0c5d91d
.github/workflows/snapshot.yml
@@ -18,8 +18,18 @@ jobs:
18
with:
19
distribution: 'temurin'
20
java-version: 8.0.x
21
+ server-id: ossrh
22
+ server-username: OSSRH_USERNAME
23
+ server-password: OSSRH_TOKEN
24
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
25
gpg-passphrase: GPG_PASSPHRASE
26
+ - name: Assert Snapshot Version
27
+ run: |
28
+ ./mvnw clean install -Dmaven.test.skip=true
29
+ ./mvnw -q \
30
+ -Dexec.executable=echo \
31
+ -Dexec.args='${project.version}' \
32
+ exec:exec | perl -ne 'die unless m/.*-SNAPSHOT/'
33
- name: Publish to Apache Maven Central
34
run: ./mvnw deploy
35
env:
0 commit comments