mirror of
https://github.com/cupcakearmy/autorestic.git
synced 2024-12-23 08:46:25 +00:00
23 lines
443 B
YAML
23 lines
443 B
YAML
|
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
|
||
|
- name: Release
|
||
|
uses: softprops/action-gh-release@v1
|
||
|
with:
|
||
|
files: dist/*
|
||
|
env:
|
||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|