2021-04-15 21:35:00 +00:00
|
|
|
name: Main
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
tags:
|
2021-11-20 15:59:13 +00:00
|
|
|
- "v*.*.*"
|
2021-04-15 21:35:00 +00:00
|
|
|
|
|
|
|
jobs:
|
2021-11-20 15:59:13 +00:00
|
|
|
release:
|
2021-04-15 21:35:00 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/setup-go@v2
|
|
|
|
with:
|
2021-11-20 15:59:13 +00:00
|
|
|
go-version: "^1.16.3"
|
2021-04-15 21:35:00 +00:00
|
|
|
- name: Build
|
|
|
|
run: go run build/build.go
|
2021-04-28 12:51:56 +00:00
|
|
|
|
|
|
|
- name: Sign
|
|
|
|
uses: tristan-weil/ghaction-checksum-sign-artifact@v1.0.1
|
|
|
|
with:
|
|
|
|
path: dist/*
|
2021-04-15 21:35:00 +00:00
|
|
|
- name: Release
|
|
|
|
uses: softprops/action-gh-release@v1
|
|
|
|
with:
|
2021-04-29 18:15:32 +00:00
|
|
|
files: |
|
|
|
|
dist/*.bz2
|
|
|
|
dist/*.zip
|
2021-05-07 15:07:27 +00:00
|
|
|
dist/SHA256SUMS
|
2021-04-15 21:35:00 +00:00
|
|
|
env:
|
2021-11-20 15:59:13 +00:00
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|