We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a87bee3 commit 333caeaCopy full SHA for 333caea
1 file changed
.github/workflows/release.yaml
@@ -29,6 +29,8 @@ jobs:
29
tag:
30
name: Release
31
runs-on: ubuntu-latest
32
+ env:
33
+ gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
34
steps:
35
- name: Checkout
36
uses: actions/checkout@v3
@@ -38,9 +40,16 @@ jobs:
38
40
go-version: "^1.19"
39
41
- name: Build
42
run: make init
43
+ - name: GPG
44
+ id: import_gpg
45
+ if: ${{ env.gpg_private_key != '' }}
46
+ uses: crazy-max/ghaction-import-gpg@v4
47
+ with:
48
+ passphrase: ${{ secrets.GPG_PASSPHRASE }}
49
- name: Assets
50
env:
51
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
52
+ GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
53
run: |
54
curl --disable --silent --show-error --location --max-time 30 "https://raw.githubusercontent.com/ViBiOh/scripts/main/bootstrap" | bash -s -- "-c" "release"
55
export GIT_TAG="$(basename ${{ github.ref }})"
0 commit comments