From 42e4f326bee0ebc5b3832fa224408381b46011e3 Mon Sep 17 00:00:00 2001 From: partouf Date: Sun, 18 Oct 2020 15:18:37 +0000 Subject: [PATCH] upload on tag --- .github/workflows/build.yml | 9 +++++++++ 1 file changed, 9 insertions(+) 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 }}