Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sterlp authored Dec 15, 2023
1 parent 8d51ae0 commit 50d2842
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,19 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Configure GPG Key
run: |
echo -n "$PPG_KEY" | base64 --decode | gpg --import
env:
PPG_KEY: ${{ secrets.PGP_KEY }}
- name: Checkout code
uses: actions/checkout@master # don't get confused by @master - it is the version of the checkout action. You repo will be checked out with ${{ github.ref }}
-
name: Checkout
uses: actions/checkout@v4
-
name: Import GPG key
uses: crazy-max/ghaction-import-gpg@v6
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.PGP_PASSPHRASE }}
-
name: List keys
run: gpg -K

- name: Build site and deploy maven registry
env:
GPG_KEYNAME: ${{ secrets.PGP_KEYNAME }}
Expand Down

0 comments on commit 50d2842

Please sign in to comment.