Skip to content

Commit

Permalink
switch order around
Browse files Browse the repository at this point in the history
  • Loading branch information
hydrobeam committed Nov 7, 2024
1 parent 84ff763 commit 3b65c21
Showing 1 changed file with 16 additions and 18 deletions.
34 changes: 16 additions & 18 deletions .github/workflows/test-stellar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,17 +106,6 @@ jobs:
--rpc-url "$RPC_URL" \
--network-passphrase "$NETWORK_PASSPHRASE"
- name: Setup Stellar wallet
run: |
stellar keys generate test \
--rpc-url "$RPC_URL" \
--network-passphrase "$NETWORK_PASSPHRASE"
STELLAR_PRIVATE_KEY=$(stellar keys show test)
STELLAR_ADDRESS=$(stellar keys address test)
echo "STELLAR_PRIVATE_KEY=${STELLAR_PRIVATE_KEY}" >> $GITHUB_ENV
echo "STELLAR_ADDRESS=${STELLAR_ADDRESS}" >> $GITHUB_ENV
- name: Prepare local.json
run: |
echo '{
Expand All @@ -134,11 +123,6 @@ jobs:
}
}' > ./axelar-chains-config/info/local.json
- name: Prepare .env
run: |
echo "PRIVATE_KEY=$STELLAR_PRIVATE_KEY" >> .env
echo 'ENV=local' >> .env
- name: Display local.json
run: cat ./axelar-chains-config/info/local.json

Expand All @@ -152,10 +136,24 @@ jobs:
cd ..
WASM_DIR=axelar-cgp-soroban/target/wasm32-unknown-unknown/release
echo "WASM_DIR=${WASM_DIR}" >> $GITHUB_ENV
cat .env
###### Command: Deploy Contract ######
- name: Setup Stellar wallet
run: |
stellar keys generate test \
--rpc-url "$RPC_URL" \
--network-passphrase "$NETWORK_PASSPHRASE"
STELLAR_PRIVATE_KEY=$(stellar keys show test)
STELLAR_ADDRESS=$(stellar keys address test)
echo "STELLAR_PRIVATE_KEY=${STELLAR_PRIVATE_KEY}" >> $GITHUB_ENV
echo "STELLAR_ADDRESS=${STELLAR_ADDRESS}" >> $GITHUB_ENV
- name: Prepare .env
run: |
echo "PRIVATE_KEY = '$STELLAR_PRIVATE_KEY'" >> .env
echo "ENV = 'local'" >> .env
###### Command: Deploy Contract ######
- name: Deploy axelar_gateway
run: |
CONTRACT=axelar_gateway
Expand Down

0 comments on commit 3b65c21

Please sign in to comment.