cic-custodial/.github/workflows/binary_release.yaml

32 lines
606 B
YAML
Raw Normal View History

name: binary_release
2022-11-30 10:51:24 +01:00
on:
push:
tags:
- "v*"
jobs:
goreleaser:
runs-on: ubuntu-latest
container:
image: goreleaser/goreleaser-cross
2022-11-30 10:51:24 +01:00
environment: build
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.19
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: release --rm-dist
2022-11-30 10:51:24 +01:00
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}