Skip to content

Commit

Permalink
Fix keyring path
Browse files Browse the repository at this point in the history
  • Loading branch information
t895 committed Sep 9, 2024
1 parent 51605c2 commit a0d9d0d
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@ jobs:
publish:
if: ${{ github.repository == 't895/mcstatuskt' }}
runs-on: macos-latest
env:
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
SIGNING_KEY_ID: ${{ secrets.SIGNING_KEY_ID }}
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -28,8 +23,8 @@ jobs:
run: chmod +x ./gradlew
- name: Create secrets file
run: |
echo "${{ secrets.SIGNING_SECRET_KEYRING_BASE64 }}" | base64 --decode > keyring.asc
gpg --dearmor keyring.asc
echo "${{secrets.SIGNING_SECRET_KEYRING_BASE64}}" | base64 --decode > ${HOME}/keyring.asc
gpg --output ${HOME}/keyring.asc.gpg --dearmor ${HOME}/keyring.asc
- name: Set up environment
run: |
echo "mavenCentralUsername=${{secrets.MAVEN_USERNAME}}" >> gradle.properties
Expand Down

0 comments on commit a0d9d0d

Please sign in to comment.