Skip to content

Commit

Permalink
Why not try some quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
pitag-ha committed Nov 14, 2023
1 parent 20d3090 commit d9d816d
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d9d816d

Please sign in to comment.