Skip to content

Commit c26a275

Browse files
dannyhaakclaude
andcommitted
fix: npm smoke test and iOS commit step in CI
- npm: stop skipping dotnet.native.js.symbols (WASM runtime requires it) - iOS: fetch and checkout master branch explicitly (Actions uses detached HEAD) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent fca7cc2 commit c26a275

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/release-ios.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ jobs:
5151
run: |
5252
git config user.name "github-actions[bot]"
5353
git config user.email "github-actions[bot]@users.noreply.github.com"
54-
git checkout master
54+
git fetch origin master
55+
git checkout -B master origin/master
5556
git add sdk/swift/Package.swift
5657
git commit -m "chore: update Package.swift checksum for v${{ steps.version.outputs.version }}"
5758
git push origin master

npm/scripts/build.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ if (fs.existsSync(DIST_WASM)) {
3232
}
3333
fs.mkdirSync(DIST_WASM, { recursive: true });
3434

35-
// copy framework files, skip debug symbols and source maps
36-
const skipPatterns = [".symbols", ".js.map"];
35+
// copy framework files, skip source maps
36+
const skipPatterns = [".js.map"];
3737
for (const file of fs.readdirSync(publishDir)) {
3838
if (skipPatterns.some((p) => file.endsWith(p))) continue;
3939
fs.copyFileSync(path.join(publishDir, file), path.join(DIST_WASM, file));

0 commit comments

Comments
 (0)