Skip to content

Commit

Permalink
upload on tag
Browse files Browse the repository at this point in the history
  • Loading branch information
partouf committed Oct 18, 2020
1 parent e0d4706 commit 42e4f32
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: CI
on:
push:
branches: [ main ]
tags: ['*']
pull_request:
branches: [ main ]

Expand Down Expand Up @@ -31,3 +32,11 @@ jobs:
- uses: actions/upload-artifact@v2
with:
path: build/bin/asm-parser

- name: Release
uses: fnkr/github-action-ghr@v1
if: startsWith(github.ref, 'refs/tags/')
env:
GHR_COMPRESS: xz
GHR_PATH: build/bin/
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 42e4f32

Please sign in to comment.