Skip to content

Commit

Permalink
change: changed how the release upload url is read
Browse files Browse the repository at this point in the history
  • Loading branch information
Kartoffel096 committed Oct 9, 2024
1 parent abf5a12 commit 5550237
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/release_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,19 @@ jobs:
cp -r ${{ github.workspace }}/packagelock ./release/packagelock
tar -czvf release/packagelock-${{ env.APP_VERSION }}-linux-amd64.tar.gz -C release packagelock
- name: Get release URL
id: get_release
uses: bruceadams/[email protected]
env:
GITHUB_TOKEN: ${{ github.token }}

- name: Upload Assets
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
upload_url: ${{ steps.get_release.outputs.upload_url }}
asset_path: ./release/packagelock-${{ env.APP_VERSION }}-linux-amd64.tar.gz
asset_name: packagelock-${{ env.APP_VERSION }}-linux-amd64.tar.gz
asset_content_type: application/gzip

0 comments on commit 5550237

Please sign in to comment.