Skip to content

Commit

Permalink
test(extension): add credentials to build artifact check
Browse files Browse the repository at this point in the history
  • Loading branch information
oldGreg5 committed Jul 15, 2024
1 parent 5796e23 commit 25c9138
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/shared/build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@ runs:
shell: bash
id: check-build-exists
run: |
ART_ID=$(curl https://api.github.com/repos/input-output-hk/lace/actions/artifacts?name=lace-build-${{ github.sha }} | jq -r .artifacts[0].id)
ART_ID1=$(curl https://api.github.com/repos/input-output-hk/lace/actions/artifacts?name=lace-build-${{ github.sha }})
ART_ID=$(curl -H "Authorization: Bearer ${{ inputs.GITHUB_TOKEN }} https://api.github.com/repos/input-output-hk/lace/actions/artifacts?name=lace-build-${{ github.sha }} | jq -r .artifacts[0].id)
echo "ART_ID1: $ART_ID1"
if [ "$ART_ID" == "null" ]; then
echo "No Lace build artifact found, will build it now"
Expand Down

0 comments on commit 25c9138

Please sign in to comment.