From 1d88e99275a04532cb2a68ba2971f1a13adc65b9 Mon Sep 17 00:00:00 2001 From: XargonWan Date: Fri, 10 Jan 2025 10:13:02 +0900 Subject: [PATCH] Remove unnecessary assets environment variable assignment in fetch-release workflow --- .github/workflows/fetch-release.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/fetch-release.yml b/.github/workflows/fetch-release.yml index b5822ec..3d02a87 100644 --- a/.github/workflows/fetch-release.yml +++ b/.github/workflows/fetch-release.yml @@ -30,7 +30,7 @@ jobs: # fetching assets mkdir -p artifacts - for url in "$(echo $latest_release | jq -r '.assets[] | .browser_download_url')"; do + for url in $(echo $latest_release | jq -r '.assets[] | .browser_download_url'); do wget -P artifacts $url done @@ -41,7 +41,6 @@ jobs: echo "tag_name=$tag_name" >> $GITHUB_ENV echo "release_body=$release_body" >> $GITHUB_ENV - echo "assets=$assets" >> $GITHUB_ENV echo "release_name=$release_name" >> $GITHUB_ENV - name: Create release in this repository