Skip to content

Commit

Permalink
.github: fix asset_path for upload_release
Browse files Browse the repository at this point in the history
Adjust asset_path for upload_release to the bare filename as the
download-artifact action now drops the tarballs under the work directory
by default.

Signed-off-by: Mario Minardi <[email protected]>
  • Loading branch information
mpminardi committed Sep 12, 2024
1 parent d053e4d commit bfd8cf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ needs.create_release.outputs.url }}
asset_path: ${{ matrix.GOOS }}-${{ matrix.GOARCH }}/${{ matrix.GOOS }}-${{ matrix.GOARCH }}.tar.gz
asset_path: ${{ matrix.GOOS }}-${{ matrix.GOARCH }}.tar.gz
asset_name: ${{ matrix.GOOS }}-${{ matrix.GOARCH }}.tar.gz
asset_content_type: application/gzip

Expand Down

0 comments on commit bfd8cf6

Please sign in to comment.