Skip to content

Commit

Permalink
named variable + use () for cat
Browse files Browse the repository at this point in the history
  • Loading branch information
hydrobeam committed Dec 19, 2024
1 parent 66db0f7 commit dcd889e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/test-stellar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,9 @@ jobs:
ENDPOINT_URL: ${{ secrets.cf-endpoint-url }}
CF_BUCKET_ROOT_KEY: ${{ vars.CF_BUCKET_ROOT_KEY }}
run: |
PACKAGE_VERSION=${cat stellar/version}
for name in axelar_gateway axelar_operators axelar_gas_service interchain_token interchain_token_service example; do
PACKAGE_VERSION=$(cat stellar/version)
CONTRACTS=("axelar_gateway" "axelar_operators" "axelar_gas_service" "interchain_token" "interchain_token_service" "example")
for name in CONTRACTS; do
CF_WASM_BUCKET_ROOT_KEY="${CF_BUCKET_ROOT_KEY}/$name/$PACKAGE_VERSION/wasm"
FILE_KEY=axelar-cgp-soroban-wasm-$name-$PACKAGE_VERSION
aws s3api get-object --bucket $S3_BUCKET_NAME --key "$CF_WASM_BUCKET_ROOT_KEY/$FILE_KEY" --acl public-read --endpoint-url $ENDPOINT_URL
Expand Down

0 comments on commit dcd889e

Please sign in to comment.