Skip to content

Commit

Permalink
git action echo -n
Browse files Browse the repository at this point in the history
  • Loading branch information
DQinYuan committed Apr 7, 2024
1 parent 7e0a1ee commit c4ea82a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
run: cat /home/runner/.m2/settings.xml
- name: Publish to Maven Central Repo
run: |
echo $GPG_SECRET | base64 --decode | gpg --import
echo -n "$GPG_SECRET" | base64 --decode | gpg --import
mvn clean deploy --batch-mode --activate-profiles deploy
env:
OSSRH_USER: ${{ secrets.OSSRH_USER }}
Expand Down

0 comments on commit c4ea82a

Please sign in to comment.