Skip to content

fix: INFRA-764 fixated go releaser version #10

fix: INFRA-764 fixated go releaser version

fix: INFRA-764 fixated go releaser version #10

Workflow file for this run

#Source: https://github.com/hashicorp/terraform-provider-scaffolding/blob/main/.github/workflows/release.yml
name: release
on:
push:
tags:
- 'v*'
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Unshallow
run: git fetch --prune --unshallow
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.21
- name: Import GPG key
id: import_gpg
uses: Ferlab-Ste-Justine/ghaction-import-gpg@main
env:
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
PASSPHRASE: ${{ secrets.PASSPHRASE }}
- name: Run GoReleaser
uses: goreleaser/[email protected]
with:
version: 1.10.3
args: release --rm-dist
env:
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}