File tree Expand file tree Collapse file tree 4 files changed +51
-6
lines changed
Expand file tree Collapse file tree 4 files changed +51
-6
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ release :
5+ types : [created]
6+
7+ env :
8+ FOUNDRY_PROFILE : ci
9+
10+ jobs :
11+ package :
12+
13+ name : Soldeer Release
14+ runs-on : ubuntu-latest
15+ steps :
16+ - uses : actions/checkout@v4
17+ with :
18+ submodules : recursive
19+
20+ - name : Install Foundry
21+ uses : abstract-foundation/foundry-toolchain-zksync@v1
22+
23+ - name : Run Forge fmt
24+ run : |
25+ forge fmt --check
26+ id : fmt
27+
28+ - name : Run Forge build
29+ run : |
30+ forge build
31+ id : build
32+
33+ - name : Run Forge build zksync
34+ run : |
35+ forge build --zksync
36+ id : build-zksync
37+
38+ - name : Publish to soldeer.xyz
39+ env :
40+ SOLDEER_EMAIL : ${{ secrets.SOLDEER_EMAIL }}
41+ SOLDEER_PASSWORD : ${{ secrets.SOLDEER_PASSWORD }}
42+ run : |
43+ forge soldeer login --email "$SOLDEER_EMAIL" --password "$SOLDEER_PASSWORD"
44+ VERSION=`echo ${{ github.ref_name }} | sed 's/v//'`
45+ forge soldeer push absmate~$VERSION
Original file line number Diff line number Diff line change 1313
1414# Dotenv file
1515.env
16+
1617.DS_Store
18+ * .zip
Original file line number Diff line number Diff line change 1+ .github/
2+ lib/
3+ test/
Original file line number Diff line number Diff line change 1- @openzeppelin/contracts/=lib/v2-testnet-contracts/lib/openzeppelin-contracts/contracts/
2- erc4626-tests/=lib/v2-testnet-contracts/lib/openzeppelin-contracts/lib/erc4626-tests/
3- forge-std/=lib/forge-std/src/
4- halmos-cheatcodes/=lib/v2-testnet-contracts/lib/openzeppelin-contracts/lib/halmos-cheatcodes/src/
5- openzeppelin-contracts/=lib/v2-testnet-contracts/lib/openzeppelin-contracts/
6- era-contracts/=lib/v2-testnet-contracts/contracts/
1+ era-contracts/=lib/v2-testnet-contracts/contracts/
You can’t perform that action at this time.
0 commit comments