Skip to content

Commit ddb2792

Browse files
committed
test
1 parent 639f2e4 commit ddb2792

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/artifacts.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: Sync Contract Artifacts
22

33
on:
4+
push:
5+
branches:
6+
- ahmad/readd_offchain_artifact_match_sync
47
workflow_call:
58
inputs:
69
protocol_ref:
@@ -80,7 +83,8 @@ jobs:
8083
- name: Compare and sync artifacts
8184
id: compare-artifacts
8285
run: |
83-
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
8488
echo "artifacts_match=true" >> $GITHUB_OUTPUT
8589
echo "✅ Artifacts match"
8690
else

0 commit comments

Comments
 (0)