Skip to content

Commit

Permalink
ci improvements - fixing errors
Browse files Browse the repository at this point in the history
  • Loading branch information
szandany committed Apr 30, 2023
1 parent a08f7cb commit 7528d0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 78 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ jobs:
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}"\
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/${ORG_NAME}/${REPO_NAME}/actions/artifacts | jq -r '.artifacts | sort_by(.created_at) | .[] | select(.name == "Test Results") | .id' > artifacts_list.txt
https://api.github.com/repos/${REPO_NAME}/actions/artifacts | jq -r '.artifacts | sort_by(.created_at) | .[] | select(.name == "Test Results") | .id' > artifacts_list.txt
LATEST_ARTIFACT_NUMBER=$(cut -d: -f 2 artifacts_list.txt | sort -n | tail -n 1)
Expand All @@ -157,7 +157,7 @@ jobs:
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
-L -o my_artifact.zip \
https://api.github.com/repos/${ORG_NAME}/${REPO_NAME}/actions/artifacts/"${LATEST_ARTIFACT_NUMBER}"/zip
https://api.github.com/repos/${REPO_NAME}/actions/artifacts/"${LATEST_ARTIFACT_NUMBER}"/zip
mkdir test_results
unzip my_artifact.zip -d test_results 2> /dev/null || true
Expand Down
76 changes: 0 additions & 76 deletions .github/workflows/codeql.yml

This file was deleted.

0 comments on commit 7528d0d

Please sign in to comment.