Skip to content

Commit b249aa0

Browse files
authored
Adding CI: to workflow (#73)
Add bytecode artifacts
1 parent 1371979 commit b249aa0

File tree

3 files changed

+16
-1
lines changed

3 files changed

+16
-1
lines changed

.github/workflows/artifacts.yaml

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
on:
2+
workflow_dispatch:
3+
push:
4+
tags:
5+
- "*"
6+
pull_request:
7+
8+
jobs:
9+
forge-artifacts:
10+
uses: "rhinestonewtf/reusable-workflows/.github/workflows/forge-artifacts.yaml@main"

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
},
4040
"files": [
4141
"src",
42+
"artifacts",
4243
"foundry.toml",
4344
"remappings.txt"
4445
],

shell/prepare-artifacts.sh

+5-1
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,15 @@ mkdir $artifacts \
1616
FOUNDRY_PROFILE=optimized forge build
1717

1818
cp out-optimized/Registry.sol/Registry.json $artifacts
19+
cp out-optimized/MockERC1271Attester.sol/MockERC1271Attester.json $artifacts
20+
cp out-optimized/MockResolver.sol/MockResolver.json $artifacts
21+
cp out-optimized/MockSchemaValidator.sol/MockSchemaValidator.json $artifacts
22+
1923

2024

2125
interfaces=./artifacts/interfaces
2226

23-
cp out-optimized/IRegistry.sol/IERC7484.json $interfaces
27+
cp out-optimized/IERC7484.sol/IERC7484.json $interfaces
2428
cp out-optimized/IRegistry.sol/IRegistry.json $interfaces
2529
cp out-optimized/IExternalResolver.sol/IExternalResolver.json $interfaces
2630
cp out-optimized/IExternalSchemaValidator.sol/IExternalSchemaValidator.json $interfaces

0 commit comments

Comments
 (0)