Skip to content

Commit

Permalink
Upload files to release
Browse files Browse the repository at this point in the history
  • Loading branch information
bigtimebuddy committed Feb 16, 2024
1 parent 019cb08 commit 4709c1f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ on:
push:
branches: [ '**' ]
tags: [ '**' ]
release:
types: [ 'created' ]
pull_request:
branches: [ '**' ]
jobs:
Expand All @@ -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/*

0 comments on commit 4709c1f

Please sign in to comment.