Skip to content

Commit

Permalink
Update quickjs-build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
NickNaso authored Sep 7, 2020
1 parent 3f68062 commit 46a395c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/quickjs-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,12 +139,12 @@ jobs:
path: ./${{ matrix.config.artifact }}.zip
name: ${{ matrix.config.artifact }}
- name: Release
if: github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'created')
if: github.event_name == 'release' && (github.event.action == 'published')
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ./${{ matrix.config.artifact }}.zip
asset_name: ${{ matrix.config.artifact }}
asset_content_type: application/zip
asset_name: ${{ matrix.config.artifact }}.zip
asset_content_type: application/zip

0 comments on commit 46a395c

Please sign in to comment.