Skip to content

Commit

Permalink
use bash instead zsh
Browse files Browse the repository at this point in the history
  • Loading branch information
qalisander committed May 16, 2024
1 parent bf17c7d commit 859219e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
Expand All @@ -29,6 +29,7 @@ jobs:
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('Cargo.lock') }}
save-always: true #TODO#q: remove it when github pipeline stop failing
- name: set up rust
uses: dtolnay/rust-toolchain@stable
with:
Expand Down
6 changes: 3 additions & 3 deletions integration/test.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/zsh
#!/bin/bash
set -o pipefail

# Deploy contract by rust crate name.
Expand Down Expand Up @@ -43,8 +43,8 @@ for CRATE_NAME in $(get_example_crate_names)
do
deploy_contract "$CRATE_NAME"

# TODO#q: move to to deploy_contract
DEPLOYMENT_ADDRESS_ENV_VAR_NAME="${${CRATE_NAME//-/_}:u}_DEPLOYMENT_ADDRESS"
# TODO#q: move to deploy_contract function
DEPLOYMENT_ADDRESS_ENV_VAR_NAME="$(echo "$CRATE_NAME" | tr '-' '_' | tr '[:lower:]' '[:upper:]')_DEPLOYMENT_ADDRESS"

# export dynamically created variable
set -a
Expand Down

0 comments on commit 859219e

Please sign in to comment.