Skip to content

Commit

Permalink
fix(ci): Use an alternate upload action in release workflow
Browse files Browse the repository at this point in the history
The upload_url output from release-please is broken, so we can't use
actions/upload-release-asset, which relies on that URL.  Instead, try
svenstaro/upload-release-action.
  • Loading branch information
joeyparrish committed Feb 3, 2022
1 parent cbd2dad commit 16cfaed
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,11 @@ jobs:
if: ${{ steps.release.outputs.release_created }}
- run: npm pack
if: ${{ steps.release.outputs.release_created }}
- uses: actions/upload-release-asset@v1
env:
RELEASE_VERSION: ${{ steps.release.outputs.major }}-${{ steps.release.outputs.minor }}-${{ steps.release.outputs.patch }}.tgz
- uses: svenstaro/upload-release-action@483c1e56f95e88835747b1c7c60581215016cbf2
with:
upload_url: ${{ steps.release.outputs.upload_url }}
path: karma-local-wd-launcher-${{ env.RELEASE_VERSION }}.tgz
asset_name: karma-local-wd-launcher-${{ env.RELEASE_VERSION }}.tgz
asset_content_type: application/gzip
repo_token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ steps.release.outputs.tag_name }}
file: karma-local-wd-launcher-*.tgz
file_glob: true
overwrite: true
if: ${{ steps.release.outputs.release_created }}

0 comments on commit 16cfaed

Please sign in to comment.