Skip to content

Commit dc79634

Browse files
committed
fix: download artifacts after setup to avoid symlink clobber
Signed-off-by: Simon Davies <simongdavies@users.noreply.github.com>
1 parent 12b0455 commit dc79634

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/publish.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,16 +92,18 @@ jobs:
9292
env:
9393
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9494

95-
# Download all platform native addons into their expected locations
95+
- name: Setup
96+
run: just setup
97+
98+
# Download AFTER setup so artifacts land in the symlink/junction target
99+
# that build-hyperlight creates (deps/js-host-api → Cargo checkout).
100+
# Downloading before setup would be clobbered when setup re-creates the link.
96101
- name: Download all native addons
97102
uses: actions/download-artifact@v4
98103
with:
99104
pattern: native-addons-*
100105
merge-multiple: true
101106

102-
- name: Setup
103-
run: just setup
104-
105107
- name: Build binary (with all platform addons present)
106108
run: VERSION="${{ github.event.release.tag_name || inputs.version }}" node scripts/build-binary.js --release
107109

0 commit comments

Comments
 (0)