Skip to content

Commit

Permalink
ci: Use curl
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed Aug 20, 2024
1 parent 5dd9ae7 commit 293ce00
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/R-CMD-check-status.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ jobs:
if [ -n "${artifact_id}" ]; then
# Download artifact
gh api \
curl -L -o rcc-smoke-sha.zip \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${GH_TOKEN}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
repos/${{ github.repository }}/actions/artifacts/${artifact_id}/zip \
-o rcc-smoke-sha.zip
https://api.github.com/repos/${{ github.repository }}/actions/artifacts/${artifact_id}/zip
# Unzip artifact
unzip rcc-smoke-sha.zip
Expand Down

0 comments on commit 293ce00

Please sign in to comment.