Skip to content

Commit

Permalink
feat(ci): add release ci
Browse files Browse the repository at this point in the history
  • Loading branch information
lianxmfor committed Nov 4, 2021
1 parent 7d2f188 commit 0062f92
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: pre-release

on:
push:
tags:
- "v*"

jobs:
pre-release:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: '1.17'
- name: Build
run: |
cd featctl && make release
- uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: true
files: |
featctl/build/*

0 comments on commit 0062f92

Please sign in to comment.