Skip to content

Commit

Permalink
chore: switch to svenstaro/upload-release-action@v2 as the GH one is …
Browse files Browse the repository at this point in the history
…not working
  • Loading branch information
Ronald Holshausen committed Oct 19, 2020
1 parent f334ab0 commit 61385bb
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,14 @@ jobs:
- run: npm run package
- id: set_package_info
run: echo "::set-output name=packageJson::$(node ./scripts/native-lib-details.js)"
- if: runner.os != 'windows'
run: find build
- name: Upload Release Assets
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
upload_url: ${{ fromJson(steps.set_package_info.outputs.packageJson).hosted_path }}
asset_path: ${{ fromJson(steps.set_package_info.outputs.packageJson).staged_tarball }}
file: ${{ fromJson(steps.set_package_info.outputs.packageJson).staged_tarball }}
asset_name: ${{ fromJson(steps.set_package_info.outputs.packageJson).package_name }}
asset_content_type: application/gzip
tag: ${{ github.ref }}

0 comments on commit 61385bb

Please sign in to comment.