Skip to content

Commit 0839d20

Browse files
committed
Install foundry
1 parent 237aa32 commit 0839d20

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/sharing-smart-contract-deploy.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
echo "::error::mainnets environment can only be used with mainnet networks."
4242
exit 1
4343
fi
44-
echo "Deploying to:network ${{ inputs.network }} with ${{ inputs.environment }} environment."
44+
echo "Deploying to network '${{ inputs.network }}' with environment '${{ inputs.environment }}'."
4545
4646
# Build and test before deploying.
4747
ci:
@@ -79,6 +79,12 @@ jobs:
7979
working-directory: packages/sharing-smart-contract
8080
run: npm ci
8181

82+
- name: Install Foundry
83+
uses: foundry-rs/foundry-toolchain@v1
84+
with:
85+
version: stable
86+
cache: true
87+
8288
- name: Deploy contracts
8389
working-directory: packages/sharing-smart-contract
8490
run: npm run deploy -- --network ${{ inputs.network }}

0 commit comments

Comments
 (0)