Skip to content

Commit

Permalink
refactor: change it to trigger
Browse files Browse the repository at this point in the history
Signed-off-by: Sarthak Shyngle <[email protected]>
  • Loading branch information
Sarthak160 committed Jun 24, 2024
1 parent 27f77d0 commit abe7652
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,18 @@ jobs:
distribution: 'temurin'
cache: 'maven'

- name: Decode GPG Key
run: |
echo "${{ secrets.GPG_PRIVATE_KEY }}" | base64 --decode > ${{ github.workspace }}/gpg_key.asc
# - name: Decode GPG Key
# run: |
# echo "${{ secrets.GPG_PRIVATE_KEY }}" | base64 --decode > ${{ github.workspace }}/gpg_key.asc


- name: Display encoded key format (Debugging only - do not use in production)
run: cat ${{ github.workspace }}/gpg_key.asc
# - name: Display encoded key format (Debugging only - do not use in production)
# run: cat ${{ github.workspace }}/gpg_key.asc

- name: Import GPG Key
uses: crazy-max/ghaction-import-gpg@v4
with:
gpg_private_key: ${{ github.workspace }}/gpg_key.asc
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}
delete_private_key: true

Expand Down

0 comments on commit abe7652

Please sign in to comment.