Skip to content

Commit 9b01f12

Browse files
authored
fix(release): ignore staged npm artifact when archiving (#325)
1 parent be38878 commit 9b01f12

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/release-prebuilt-npm.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ jobs:
184184
- name: Download platform artifacts
185185
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
186186
with:
187+
pattern: hunkdiff-*
187188
path: dist/release/artifacts
188189

189190
- name: Archive release assets
@@ -205,7 +206,7 @@ jobs:
205206
fi
206207
chmod 0755 "$binary"
207208
tar -C "$(dirname "$directory")" -czf "dist/release/github/${package_name}.tar.gz" "$package_name"
208-
done < <(find dist/release/artifacts -mindepth 1 -maxdepth 1 -type d -print0 | sort -z)
209+
done < <(find dist/release/artifacts -mindepth 1 -maxdepth 1 -type d -name 'hunkdiff-*' -print0 | sort -z)
209210
find dist/release/github -maxdepth 1 -type f | sort
210211
211212
- name: Create or update GitHub release

0 commit comments

Comments
 (0)