Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
maartenbreddels committed Oct 11, 2024
1 parent 148de2c commit d5b2eeb
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/ci_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,26 @@ jobs:
with:
name: bqplot-image-gl-dist-${{ github.run_number }}
path: ./dist

debug:
runs-on: ubuntu-latest
needs: [build]
steps:
- name: Get Artifact ID
id: get-artifact-id
shell: bash
run: |
artifact_name="my-artifact"
response=$(curl -sSL -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
-H "Accept: application/vnd.github.v3+json" \
"https://api.github.com/repos/${{ github.repository }}/actions/runs/${{ github.run_id }}/artifacts")
echo "response: $response"
artifact_id=$(echo "$response" | jq -r --arg NAME "$artifact_name" '.artifacts[] | select(.name==$NAME) | .id')
echo "artifact_id=$artifact_id" >> $GITHUB_OUTPUT
- name: Use Artifact ID
run: echo "The Artifact ID is ${{ steps.get-artifact-id.outputs.artifact_id }}"


visual-regression-tests:
runs-on: ubuntu-latest
needs: [build]
Expand Down

0 comments on commit d5b2eeb

Please sign in to comment.