6
0
mirror of https://github.com/grdl/git-get.git synced 2026-02-04 20:19:42 +00:00
Files
git-get/.github/workflows/release.yml
Markus Cisler 70397d1469 Bump Go version to 1.16
This allows Go to build a native binary for Apple Silicon.

GoReleaser is used to build and release this project, GoReleaser
v0.157.0 released on 2021-02-17 will build a fitting binary
automatically as long as Go 1.16 is used. A bump of the Go version
should be everything that's needed to get this working natively on Apple
Silicon.
2021-05-05 00:19:17 +02:00

25 lines
482 B
YAML

name: release
on:
push:
tags:
- '*'
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.16
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GORELEASER_TOKEN }}