Skip to content

fix(wasm-solana): include pkg/ in artifact upload to preserve dist/ path#132

Merged
lcovar merged 1 commit intomasterfrom
btc-0-fix-publish
Feb 4, 2026
Merged

fix(wasm-solana): include pkg/ in artifact upload to preserve dist/ path#132
lcovar merged 1 commit intomasterfrom
btc-0-fix-publish

Conversation

@lcovar
Copy link
Contributor

@lcovar lcovar commented Feb 4, 2026

The upload-artifact action uses the least common ancestor of all paths as the artifact root. With only dist/ specified, the artifact structure loses the dist/ prefix, causing files to be extracted to the wrong location during publish.

Adding pkg/ (matching wasm-utxo's pattern) ensures the common ancestor is packages/wasm-solana/, preserving the dist/ directory structure.

@lcovar lcovar requested a review from a team as a code owner February 4, 2026 01:48
@lcovar lcovar enabled auto-merge February 4, 2026 01:50
The upload-artifact action uses the least common ancestor of all paths
as the artifact root. With only dist/ specified, the artifact structure
loses the dist/ prefix, causing files to be extracted to the wrong
location during publish.

Adding pkg/ (matching wasm-utxo's pattern) ensures the common ancestor
is packages/wasm-solana/, preserving the dist/ directory structure.
@lcovar lcovar force-pushed the btc-0-fix-publish branch from acdd056 to 0725bd2 Compare February 4, 2026 02:12
@lcovar lcovar merged commit cdd95d6 into master Feb 4, 2026
6 checks passed
@lcovar lcovar deleted the btc-0-fix-publish branch February 4, 2026 02:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants