We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 639f2e4 commit ddb2792Copy full SHA for ddb2792
.github/workflows/artifacts.yml
@@ -1,6 +1,9 @@
1
name: Sync Contract Artifacts
2
3
on:
4
+ push:
5
+ branches:
6
+ - ahmad/readd_offchain_artifact_match_sync
7
workflow_call:
8
inputs:
9
protocol_ref:
@@ -80,7 +83,8 @@ jobs:
80
83
- name: Compare and sync artifacts
81
84
id: compare-artifacts
82
85
run: |
- if rust-script .github/scripts/directory-comparison.rs "./out" "./offchain/crates/contracts/artifacts" "build-info" >/dev/null 2>&1; then
86
+ export IGNORE_PATTERN="build-info"
87
+ if rust-script .github/scripts/directory-comparison.rs "./out" "./offchain/crates/contracts/artifacts" >/dev/null 2>&1; then
88
echo "artifacts_match=true" >> $GITHUB_OUTPUT
89
echo "✅ Artifacts match"
90
else
0 commit comments