diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cae559e..0afb860 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,6 +3,7 @@ name: CI on: push: branches: [ main ] + tags: ['*'] pull_request: branches: [ main ] @@ -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 }}