diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 232c54d..63590dc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,6 +3,8 @@ name: build on: push: branches: [main] + tags: + - '*' pull_request: branches: [main] @@ -34,3 +36,8 @@ jobs: with: name: magic-copy.crx path: dist.crx + - name: Upload to release + uses: softprops/action-gh-release@v1 + if: ${{startsWith(github.ref, 'refs/tags/') }} + with: + files: magic-copy.zip