Skip to content

Commit

Permalink
chore: setup workflows for the whole encryption thing
Browse files Browse the repository at this point in the history
  • Loading branch information
hakimifr committed Jan 23, 2025
1 parent fa38678 commit 9e08e7e
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,13 @@ jobs:
${{ runner.os }}-go-mod-
- name: Build for GitHub Actions
run: make build_gh_actions
run: |
echo "$PRIVATE_PGP_KEY_CONTENT" >crypto/privkey.pem
echo "$PRIVATE_PGP_KEY_PASSPHRASE" >crypto/passphrase.txt
make build_gh_actions
env:
PRIVATE_PGP_KEY_CONTENT: ${{ secrets.PRIVATE_PGP_KEY_CONTENT }}
PRIVATE_PGP_KEY_PASSPHRASE: ${{ secrets.PRIVATE_PGP_KEY_PASSPHRASE }}

- name: Get Version from Makefile
id: get_version
Expand Down Expand Up @@ -57,7 +63,7 @@ jobs:
A new release of the application is now available.
- Version: ${{ env.VERSION }}
draft: false
prerelease: ${{ env.PRE_RELEASE == 'true' }}
prerelease: ${{ secrets.PRE_RELEASE == 'true' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down

0 comments on commit 9e08e7e

Please sign in to comment.