Skip to content

Commit

Permalink
fix script
Browse files Browse the repository at this point in the history
  • Loading branch information
yurushao committed Sep 15, 2024
1 parent b506047 commit 6c493a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pr_verify_anchor_idl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ jobs:
- name: Validate anchor IDL
shell: bash
run: |
if [ $(cat anchor/target/idl/glam.json | jq -r .address) == "GLAMpLuXu78TA4ao3DPZvT1zQ7woxoQ8ahdYbhnqY9mP"]; then
if [ $(cat anchor/target/idl/glam.json | jq -r .address) == "GLAMpLuXu78TA4ao3DPZvT1zQ7woxoQ8ahdYbhnqY9mP" ]; then
echo "Anchor IDL program address is correct."
else
echo "Anchor IDL program address is incorrect."
echo "Program address in the main branch IDL should be GLAMpLuXu78TA4ao3DPZvT1zQ7woxoQ8ahdYbhnqY9mP (mainnet deploy)."
echo "Make sure you run `anchor build` or `pnpm run anchor-build` before pushing changes to your PR."
echo "Make sure you run \"anchor build\" or \"pnpm run anchor-build\" before pushing changes to your PR."
exit 1
fi

0 comments on commit 6c493a4

Please sign in to comment.