From 62ed83b56e4802742e16f46fabebfec228fc77c0 Mon Sep 17 00:00:00 2001 From: otegami Date: Thu, 19 Dec 2024 08:49:08 +0900 Subject: [PATCH] Simplify the logic to upload artifacts to release page --- .github/workflows/release.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 52b18b0e1c..a4df37eb26 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -54,9 +54,7 @@ jobs: merge-multiple: true - name: Upload to release run: | - cat ./artifacts/*.artifact > names.artifact - artifact_list=$(paste -s -d' ' names.artifact) cd artifacts - gh release upload "${{ inputs.tag }}" ${artifact_list} + gh release upload "${{ inputs.tag }}" $(cat *.artifact) env: GH_TOKEN: ${{ secrets.token }}