Skip to content

Commit

Permalink
Do not access Internet when invoking cargo metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcin-Radecki committed May 15, 2024
1 parent 2423b1f commit 19a6c17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion get-aleph-node-fqdn-image/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ runs:
id: check-chain-bootstrapper-crate-existence
shell: bash
run: |
if cargo metadata | jq -e '.packages[] | select(.name=="chain-bootstrapper")' > /dev/null; then
if cargo metadata --offline | jq -e '.packages[] | select(.name=="chain-bootstrapper")' > /dev/null; then
echo "exists=true" >> $GITHUB_OUTPUT
else
echo "exists=false" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 19a6c17

Please sign in to comment.