Skip to content

Commit

Permalink
Merge branch 'main' into 6.4.x-temp
Browse files Browse the repository at this point in the history
  • Loading branch information
tishun committed Jun 12, 2024
2 parents dd08e6f + 7ff981d commit 9ce0031
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/version-and-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
uses: actions/checkout@v4

- name: Set up Java with Maven cache

uses: actions/setup-java@v4
with:
java-version: '8'
Expand All @@ -31,16 +32,19 @@ jobs:
if: ${{ github.event.release.tag_name }}

- name: Install GPG key

run: |
cat <(echo -e "${{ secrets.OSSH_GPG_SECRET_KEY }}") | gpg --batch --import
gpg --list-secret-keys --keyid-format LONG
- name: Publish to Maven

run: |
mvn --no-transfer-progress \
--batch-mode \
-Dgpg.passphrase='${{ secrets.OSSH_GPG_SECRET_KEY_PASSWORD }}' \
deploy -P sonatype-oss-release
env:
MAVEN_USERNAME: ${{secrets.OSSH_USERNAME}}
MAVEN_PASSWORD: ${{secrets.OSSH_TOKEN}}

0 comments on commit 9ce0031

Please sign in to comment.