From c3ce3fe438e76d0b348c2b3f0dc724b9ebcb6429 Mon Sep 17 00:00:00 2001 From: Brent Yorgey Date: Mon, 15 Jul 2024 14:46:16 -0500 Subject: [PATCH] Fix release URL asset path in Haskell release action (#2051) 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. --- .github/workflows/haskell-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/haskell-release.yml b/.github/workflows/haskell-release.yml index 4dfd5d9f9..c21de00f8 100644 --- a/.github/workflows/haskell-release.yml +++ b/.github/workflows/haskell-release.yml @@ -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