mirror of
https://github.com/cupcakearmy/autorestic.git
synced 2024-12-23 00:36:25 +00:00
02163fb2d3
***when merging. please REVERT THIS COMMIT!
32 lines
638 B
YAML
32 lines
638 B
YAML
name: Main
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- "v*.*.*"
|
|
|
|
jobs:
|
|
release:
|
|
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
|
|
|
|
- name: Sign
|
|
uses: tristan-weil/ghaction-checksum-sign-artifact@v1.0.1
|
|
with:
|
|
path: dist/*
|
|
- name: Release
|
|
uses: softprops/action-gh-release@v1
|
|
with:
|
|
files: |
|
|
dist/*.bz2
|
|
dist/*.zip
|
|
dist/SHA256SUMS
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|