Skip to content

Commit

Permalink
Only release on new tag
Browse files Browse the repository at this point in the history
  • Loading branch information
academo committed Jul 13, 2021
1 parent 7e4c4fa commit 9938193
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Kibbe build release
on:
push:
branches:
- master
tags:
- '*'
jobs:
build-binary:
runs-on: ubuntu-latest
Expand All @@ -16,6 +16,4 @@ jobs:
- uses: ncipollo/release-action@v1
with:
artifacts: "./dist/linux/*"
token: ${{ secrets.GITHUB_TOKEN }}
name: ${{ github.sha }}
tag: ${{ github.run_number }}
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 9938193

Please sign in to comment.