File tree Expand file tree Collapse file tree 3 files changed +9
-6
lines changed
Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -108,9 +108,6 @@ jobs:
108108 terraform_version : " 1.7.5"
109109 terraform_wrapper : false # Disable the wrapper that adds debug output, this messes with reading terraform output
110110
111- - name : Install Foundry
112- uses : foundry-rs/foundry-toolchain@v1
113-
114111 - name : Set environment variables
115112 run : |
116113 # Set environment variables for ignition-fisherman.env
Original file line number Diff line number Diff line change @@ -117,9 +117,6 @@ jobs:
117117 terraform_version : " 1.7.5"
118118 terraform_wrapper : false # Disable the wrapper that adds debug output, this messes with reading terraform output
119119
120- - name : Install Foundry
121- uses : foundry-rs/foundry-toolchain@v1
122-
123120 - name : Deploy network
124121 id : deploy-network
125122 env :
Original file line number Diff line number Diff line change @@ -120,6 +120,15 @@ if command -v gcloud &> /dev/null; then
120120 fi
121121fi
122122
123+ FOUNDRY_VERSION=" v1.4.1"
124+ if ! command -v cast & > /dev/null; then
125+ log " Installing cast (foundry $FOUNDRY_VERSION )..."
126+ curl -L https://foundry.paradigm.xyz | bash
127+ FOUNDRY_BIN_DIR=" ${FOUNDRY_DIR:- $HOME / .foundry} /bin"
128+ " $FOUNDRY_BIN_DIR /foundryup" -i " $FOUNDRY_VERSION "
129+ sudo mv " $FOUNDRY_BIN_DIR /cast" /usr/local/bin/cast
130+ sudo chmod +x /usr/local/bin/cast
131+ fi
123132
124133require_cmd git
125134require_cmd kubectl
You can’t perform that action at this time.
0 commit comments