Skip to content

Commit

Permalink
Merge pull request #276 from willowtreeapps/hotfix/add-env-publish
Browse files Browse the repository at this point in the history
add env variable to publish step
  • Loading branch information
andrewowen authored Feb 12, 2024
2 parents d2eb3a5 + 5d6d0b8 commit 9e531e8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/mc-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ jobs:
run: ./gradlew lintRelease;

- name: Deploy To Maven Central
env:
VERSION_NAME: ${{ env.version_name }}
run: |
echo ${{ secrets.MAVEN_CENTRAL_SEC_RING }} | base64 -d > $HOME/secring.gpg
gpg --import --batch $HOME/secring.gpg
Expand Down

0 comments on commit 9e531e8

Please sign in to comment.