lf/.github/workflows/release.yml

29 lines
431 B
YAML
Raw Normal View History

2021-06-19 22:37:44 +00:00
name: Release
2021-06-19 22:43:45 +00:00
on:
push:
tags:
- '*'
2021-06-19 22:37:44 +00:00
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.15
- name: Build
run: gen/xbuild.sh
- name: Release
uses: softprops/action-gh-release@v1
with:
files: dist/*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}