We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 099c025 + 533f7db commit 385efa5Copy full SHA for 385efa5
.github/workflows/abi-release.yml
@@ -0,0 +1,36 @@
1
+name: ABI Release
2
+
3
+on:
4
+ push:
5
+ tags:
6
+ - 'v*.*.*'
7
8
+jobs:
9
+ release-abi:
10
+ name: Release ABI
11
+ runs-on: ubuntu-latest
12
13
+ steps:
14
+ - name: Checkout repository
15
+ uses: actions/checkout@v4
16
+ with:
17
+ submodules: recursive
18
19
+ - name: Install Foundry
20
+ uses: foundry-rs/foundry-toolchain@v1
21
22
+ - name: Build contracts
23
+ run: forge build
24
25
+ - name: Extract ABIs
26
+ run: |
27
+ mkdir -p abis
28
+ jq '.abi' out/FilBeamOperator.sol/FilBeamOperator.json \
29
+ > abis/FilBeamOperator.abi.json
30
31
+ - name: Publish ABIs to GitHub Release
32
+ uses: softprops/action-gh-release@v2
33
34
+ tag_name: ${{ github.ref_name }}
35
+ files: |
36
+ abis/**
0 commit comments