Cloak/.github/workflows/release.yml

22 lines
449 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
2020-12-20 00:21:16 +00:00
v=${GITHUB_REF#refs/*/} ./release.sh
2020-12-19 19:42:31 +00:00
- name: Release
uses: softprops/action-gh-release@v1
with:
2020-12-20 00:21:16 +00:00
files: release/*
2020-12-19 19:42:31 +00:00
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}