Skip to content

Commit acdd056

Browse files
committed
fix(wasm-solana): include pkg/ in artifact upload to preserve dist/ path
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.
1 parent b239b00 commit acdd056

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/build-and-test.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,7 @@ jobs:
227227
with:
228228
name: wasm-solana-build
229229
path: |
230+
packages/wasm-solana/pkg/
230231
packages/wasm-solana/dist/
231232
retention-days: 1
232233

packages/wasm-solana/js/parser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import type { VersionedTransaction } from "./versioned.js";
1818
export type TransactionInput = Uint8Array | Transaction | VersionedTransaction;
1919

2020
// =============================================================================
21-
// Instruction Types - matching BitGoJS InstructionParams
21+
// Instruction Types - matching BitGoJS InstructionParams.
2222
// =============================================================================
2323

2424
/** SOL transfer parameters */

0 commit comments

Comments
 (0)