From d9d816db0a1fc157c96334da81cc83d87a192312 Mon Sep 17 00:00:00 2001 From: Sonja Heinze Date: Tue, 14 Nov 2023 18:57:27 +0100 Subject: [PATCH] Why not try some quotes --- .github/workflows/artifacts.yml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/artifacts.yml b/.github/workflows/artifacts.yml index 9e904e4d12..2967469303 100644 --- a/.github/workflows/artifacts.yml +++ b/.github/workflows/artifacts.yml @@ -19,13 +19,19 @@ jobs: all_artifacts=$(curl -sSL $gh_api_artifacts_url) category_data_artifact=$(echo "$all_artifacts" | jq "first(.artifacts[] | select(.name == \"$cat_data_diff\") )") id=$(echo "$category_data_artifact" | jq ".id") - echo "id=\"$id\"" | tee -a $GITHUB_OUTPUT - - name: Run curl + echo "id=$id" | tee -a $GITHUB_OUTPUT + + - name: Print the URL env: id: ${{ steps.cat_artifact.outputs.id }} - # id: "1043780208" - run: | - curl -LOs -H "Authorization: Bearer ${{ secrets.FUZZY_CI_TOKEN }}" https://api.github.com/repos/pitag-ha/merlin/actions/artifacts/$id/zip -D headers.txt + run: echo "https://api.github.com/repos/pitag-ha/merlin/actions/artifacts/$id/zip" + + # - name: Run curl + # env: + # id: "${{ steps.cat_artifact.outputs.id }}" + # # id: "1043780208" + # run: | + # curl -LOs -H "Authorization: Bearer ${{ secrets.FUZZY_CI_TOKEN }}" "https://api.github.com/repos/pitag-ha/merlin/actions/artifacts/$id/zip" -D headers.txt - name: Print return headers run: cat headers.txt