Skip to content

Commit

Permalink
Fix release URL asset path in Haskell release action (#2051)
Browse files Browse the repository at this point in the history
The `create_release` job worked fine.  The `build_artifact` job, however, after downloading the `release_url` artifact, seemed to be looking for it in the wrong place --- it tried to access `release_url/release_url.txt`, but the corrsponding zip file contains only the file `release_url.txt` with no folder.

This PR fixes the job to look for the `release_url.txt` file in the correct (I hope) place.
  • Loading branch information
byorgey authored Jul 15, 2024
1 parent f73ea57 commit c3ce3fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/haskell-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ jobs:
- name: Get Release File Name & Upload URL
id: get_release_info
run: |
echo "upload_url=$(cat release_url/release_url.txt)" >> "$GITHUB_OUTPUT"
echo "upload_url=$(cat release_url.txt)" >> "$GITHUB_OUTPUT"
- name: Upload Release Asset
id: upload-release-asset
Expand Down

0 comments on commit c3ce3fe

Please sign in to comment.