From 3fe7d2612a55fed774d2aaee77cd6badb83fc7c1 Mon Sep 17 00:00:00 2001 From: Grigory Efimov Date: Wed, 7 Feb 2024 18:45:25 -0300 Subject: [PATCH] fixed .github/workflows/release.yml --- .github/workflows/release.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 01f37d8..b8c48ab 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -140,14 +140,10 @@ jobs: # run: find ./ -type f # upload-release-asset {{ - - name: list asset files - id: list_files - run: | - echo "FILES=$(ls *.${{ steps.release_info.outputs.FPM_OUTPUT_TYPE }})" >> GITHUB_OUTPUT - name: Upload Release Asset run: | - UPLOAD_URL=$(echo "${{ needs.create_release.outputs.upload_url }}" | sed 's|{?name,label}||' ) - FILES=${{ steps.list_files.outputs.FILES }} + UPLOAD_URL=$( echo "${{ needs.create_release.outputs.upload_url }}" | sed 's|{?name,label}||' ) + FILES=$( ls ./*.${{ steps.release_info.outputs.FPM_OUTPUT_TYPE }} ) echo "UPLOAD_URL=$UPLOAD_URL" echo "FILES=$FILES" for FILE in $FILES; do