From 4709c1f322c866db7044829814750739523cc772 Mon Sep 17 00:00:00 2001 From: Matt Karl Date: Fri, 16 Feb 2024 11:26:09 -0500 Subject: [PATCH] Upload files to release --- .github/workflows/main.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4bb80cc..caec63b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -3,6 +3,8 @@ on: push: branches: [ '**' ] tags: [ '**' ] + release: + types: [ 'created' ] pull_request: branches: [ '**' ] jobs: @@ -23,4 +25,9 @@ jobs: uses: coactions/setup-xvfb@v1 with: run: npm test + - name: Upload to Release + if: github.event_name == 'release' + uses: softprops/action-gh-release@v1 + with: + files: dist/*