Skip to content

Commit 4fa4309

Browse files
authored
release: v0.14.0 (#72)
1 parent 6150d88 commit 4fa4309

1 file changed

Lines changed: 13 additions & 5 deletions

File tree

.github/workflows/mvn_publish.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,26 @@ jobs:
2222
publish:
2323
runs-on: ubuntu-latest
2424
steps:
25+
# Step 1: Check out the code
2526
- uses: actions/checkout@v4
27+
28+
# Step 2: Set up the Java environment
2629
- uses: actions/setup-java@v4
2730
with:
2831
java-version: '8'
2932
distribution: 'zulu'
3033
server-id: ossrh
31-
server-username: MAVEN_USERNAME
32-
server-password: MAVEN_PASSWORD
33-
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Value of the GPG private key to import
34-
gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
34+
server-username: ${{ secrets.MAVEN_USERNAME }}
35+
server-password: ${{ secrets.MAVEN_PASSWORD }}
36+
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
37+
gpg-passphrase: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
38+
39+
# Step 3: Verify if the GPG key is correctly imported
40+
- name: Verify GPG Key
41+
run: gpg --list-secret-keys --keyid-format LONG
3542

36-
- name: Build with Maven
43+
# Step 4: Build and publish using Maven
44+
- name: Build and Publish with Maven
3745
run: mvn clean deploy --batch-mode -DskipTests -P release -B -U -e
3846
env:
3947
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}

0 commit comments

Comments
 (0)