Update .gitea/workflows/release-tag.yml

This commit is contained in:
techknowlogick 2024-04-08 16:43:59 +00:00
parent 1e3043ce6f
commit 75a7d4b7cc
1 changed files with 4 additions and 5 deletions

View File

@ -13,19 +13,18 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- run: git fetch --force --tags - run: git fetch --force --tags
- name: setup go - uses: actions/setup-go@v5
uses: https://github.com/actions/setup-go@v5
with: with:
go-version: '>=1.20.1' go-version-file: 'go.mod'
- name: import gpg - name: import gpg
id: import_gpg id: import_gpg
uses: https://github.com/crazy-max/ghaction-import-gpg@v6 uses: crazy-max/ghaction-import-gpg@v6
with: with:
gpg_private_key: ${{ secrets.GPGSIGN_KEY }} gpg_private_key: ${{ secrets.GPGSIGN_KEY }}
passphrase: ${{ secrets.GPGSIGN_PASSPHRASE }} passphrase: ${{ secrets.GPGSIGN_PASSPHRASE }}
fingerprint: CC64B1DB67ABBEECAB24B6455FC346329753F4B0 fingerprint: CC64B1DB67ABBEECAB24B6455FC346329753F4B0
- name: goreleaser - name: goreleaser
uses: https://github.com/goreleaser/goreleaser-action@v5 uses: goreleaser/goreleaser-action@v5
with: with:
distribution: goreleaser-pro distribution: goreleaser-pro
version: latest version: latest