Skip to content

Commit

Permalink
Merge pull request #15 from jrhunger/fix-release-workflow
Browse files Browse the repository at this point in the history
rearrange conditionals
  • Loading branch information
jrhunger authored Jan 31, 2021
2 parents 6ac4223 + c2e9532 commit 2b6cc52
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/assemble.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: assemble
on: [push,release]
on:
push:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-20.04
Expand All @@ -24,7 +27,7 @@ jobs:
overwrite: true
file_glob: true
- name: upload binaries to created release
if: ${{ github.event_name == 'release' && github.release.types == 'created' }}
if: ${{ github.event_name == 'release' }}
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 2b6cc52

Please sign in to comment.