Skip to content

Commit

Permalink
fix release pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
MohabMohie committed Apr 2, 2024
1 parent 9daea29 commit f90bd24
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/mavenCentral_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ on:

jobs:
build_release_and_deliver:
env:
gpg.keyname: ${{ secrets.GPG_KEYNAME }}
gpg.passphrase: ${{ secrets.GPG_PASSPHRASE }}
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
runs-on: ubuntu-22.04
steps:
- name: Checkout Code
Expand Down Expand Up @@ -45,7 +51,7 @@ jobs:
tag: ${{ env.RELEASE_VERSION }}
- name: Setup Prerequisites
run: |
git config --global user.signingKey ${{ secrets.GPG_KEYNAME }}
git config --global user.signingKey "${{ secrets.GPG_KEYNAME }}"
git config --global commit.gpgsign true
gpg --version
gpgconf --kill gpg-agent
Expand Down

0 comments on commit f90bd24

Please sign in to comment.