Skip to content

Commit dc778dd

Browse files
committed
feat:update GitHub Action.
1 parent 2135691 commit dc778dd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ jobs:
2424
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
2525
run: |
2626
cat <(echo -e "${{ secrets.GPG_PRIVATE_KEY }}") | gpg --batch --import;
27-
mvn clean install deploy -P release -Dgpg.passphrase=${{ secrets.GPG_PASSPHRASE }}
27+
mvn clean deploy -P release -Dgpg.passphrase=${{ secrets.GPG_PASSPHRASE }}

.github/workflows/snapshot.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
server-username: MAVEN_USERNAME
4141
server-password: MAVEN_PASSWORD
4242
- name: Publish package
43-
run: mvn --batch-mode deploy
43+
run: mvn --batch-mode clean deploy
4444
env:
4545
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
4646
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}

0 commit comments

Comments
 (0)