Skip to content

Commit

Permalink
workflow: trying to fix artifact upload
Browse files Browse the repository at this point in the history
  • Loading branch information
endel committed Oct 3, 2020
1 parent fa3b4fb commit 1ee3e43
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,17 @@ jobs:
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
- name: Create Release
id: create_release
if: steps.publish.has_published # create release only if publish to NPM has succeeded
if: steps.publish.outputs.has_published # create release only if publish to NPM has succeeded
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.publish.tag_name }}
release_name: ${{ steps.publish.tag_name }}
tag_name: ${{ steps.publish.outputs.tag_name }}
release_name: ${{ steps.publish.outputs.tag_name }}
draft: false
prerelease: ${{ steps.publish.is_tagged_release }}
prerelease: ${{ steps.publish.outputs.is_tagged_release }}
- name: Upload release asset
if: steps.publish.has_published # create release only if publish to NPM has succeeded
if: steps.publish.outputs.has_published # create release only if publish to NPM has succeeded
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 1ee3e43

Please sign in to comment.