Skip to content

Commit

Permalink
Fix validate coins GitHub Action
Browse files Browse the repository at this point in the history
The validate coins action was failing silently because of the coins_ci.json file location changing to the assets folder
  • Loading branch information
takenagain committed Dec 27, 2023
1 parent d04dfae commit eef3f81
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/validate_coins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,12 @@ jobs:
- name: Get coins repo commit
id: coins
run: |
echo "hash=$(jq -r .coins_repo_commit coins_ci.json)" >> $GITHUB_ENV
export commit_hash="$(jq -r .bundled_coins_repo_commit assets/coins_ci.json)"
if [ -z "${commit_hash}" ]; then
echo "No coins repo commit found in coins_ci.json"
exit 1
fi
echo "hash=${commit_hash}" >> $GITHUB_ENV
shell: bash

- name: Get coins asset files
Expand Down

0 comments on commit eef3f81

Please sign in to comment.