autorestic/.github/workflows/build.yml

28 lines
566 B
YAML
Raw Normal View History

2021-04-15 23:35:00 +02:00
name: Main
on:
push:
tags:
- 'v*.*.*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: '^1.16.3'
- name: Build
run: go run build/build.go
2021-04-28 14:51:56 +02:00
- name: Sign
uses: tristan-weil/ghaction-checksum-sign-artifact@v1.0.1
with:
path: dist/*
2021-04-15 23:35:00 +02:00
- name: Release
uses: softprops/action-gh-release@v1
with:
files: dist/*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}