2020-11-20 10:00:14 +01:00
|
|
|
name: goreleaser
|
|
|
|
|
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
goreleaser:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
2022-10-27 08:22:14 +02:00
|
|
|
uses: actions/checkout@v3
|
2020-11-20 10:00:14 +01:00
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
|
|
|
|
|
|
|
- name: Set up Go
|
2022-10-27 08:22:14 +02:00
|
|
|
uses: actions/setup-go@v3
|
2020-11-20 10:00:14 +01:00
|
|
|
with:
|
2023-02-05 13:52:36 +01:00
|
|
|
go-version: '1.20'
|
2021-06-02 18:44:33 +02:00
|
|
|
|
2020-11-20 10:00:14 +01:00
|
|
|
- name: Make All
|
|
|
|
run: |
|
|
|
|
./package.sh
|
|
|
|
|
|
|
|
- name: Run GoReleaser
|
2022-10-27 08:22:14 +02:00
|
|
|
uses: goreleaser/goreleaser-action@v3
|
2020-11-20 10:00:14 +01:00
|
|
|
with:
|
|
|
|
version: latest
|
|
|
|
args: release --rm-dist --release-notes=./Release.md
|
|
|
|
env:
|
2020-11-20 10:35:06 +01:00
|
|
|
GITHUB_TOKEN: ${{ secrets.GPR_TOKEN }}
|