Skip to content

Commit a01c87c

Browse files
committed
update deploy
1 parent 83095e3 commit a01c87c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ jobs:
3939
java-version: '11'
4040
distribution: 'temurin'
4141
cache: maven
42+
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
4243

4344
- name: Set Version from Tag
4445
if: startsWith(github.ref, 'refs/tags/')
@@ -52,7 +53,6 @@ jobs:
5253

5354
- name: Deploy
5455
env:
55-
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
5656
server_username: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
5757
server_password: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
5858
run: mvn -B deploy -DskipTests

0 commit comments

Comments
 (0)