Cloak/.github/workflows/release.yml

22 lines
445 B
YAML
Raw Normal View History

2020-12-19 19:42:31 +00:00
on:
push:
tags:
- 'v*'
name: Create Release
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build
2020-12-19 20:25:38 +00:00
run: |
export PATH=${PATH}:`go env GOPATH`/bin
v=${{ github.ref }} ./release.sh
2020-12-19 19:42:31 +00:00
- name: Release
uses: softprops/action-gh-release@v1
with:
files: release/*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}