Skip to content

Commit 609b170

Browse files
committed
Changepacks publish
1 parent 193830a commit 609b170

File tree

3 files changed

+33
-26
lines changed

3 files changed

+33
-26
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"changes":{"packages/python/pyproject.toml":"Patch","libs/braillify/Cargo.toml":"Patch","packages/node/package.json":"Patch"},"note":"Fix publish","date":"2025-11-24T03:14:29.395846300Z"}

.github/workflows/publish.yml

Lines changed: 31 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Publish Package to npm
1+
name: Publish
22

33
on:
44
push:
@@ -133,22 +133,22 @@ jobs:
133133
fail-fast: false
134134
matrix:
135135
settings:
136-
- host: macos-latest
137-
target: x86_64-apple-darwin
138-
build: bun run build --target x86_64-apple-darwin
139-
- host: windows-latest
140-
build: bun run build --target x86_64-pc-windows-msvc
141-
target: x86_64-pc-windows-msvc
136+
# - host: macos-latest
137+
# target: x86_64-apple-darwin
138+
# build: bun run build --target x86_64-apple-darwin
139+
# - host: windows-latest
140+
# build: bun run build --target x86_64-pc-windows-msvc
141+
# target: x86_64-pc-windows-msvc
142142
- host: ubuntu-latest
143143
target: x86_64-unknown-linux-gnu
144144
build: bun run build --target x86_64-unknown-linux-gnu --use-napi-cross
145-
- host: macos-latest
146-
target: aarch64-apple-darwin
147-
build: bun run build --target aarch64-apple-darwin
145+
# - host: macos-latest
146+
# target: aarch64-apple-darwin
147+
# build: bun run build --target aarch64-apple-darwin
148148
name: Node Build - ${{ matrix.settings.target }}
149149
runs-on: ${{ matrix.settings.host }}
150150
env:
151-
DEBUG: napi:*
151+
# DEBUG: napi:*
152152
MACOSX_DEPLOYMENT_TARGET: '10.13'
153153
CARGO_INCREMENTAL: '1'
154154
steps:
@@ -277,6 +277,11 @@ jobs:
277277
args: --release --out dist
278278
working-directory: packages/python
279279
manylinux: ${{ matrix.manylinux || '' }}
280+
281+
- name: Set up Python 3.11
282+
uses: actions/setup-python@v6
283+
with:
284+
python-version: '3.11'
280285
- name: Upload wheels
281286
uses: actions/upload-artifact@v4
282287
with:
@@ -304,22 +309,23 @@ jobs:
304309
- name: Build
305310
run: bun run build
306311
working-directory: packages/node
307-
- name: create npm dirs
308-
run: bunx napi create-npm-dirs
309-
working-directory: packages/node
310-
- name: Download all artifacts
311-
uses: actions/download-artifact@v5
312-
with:
313-
path: packages/node/artifacts
314-
- name: Move artifacts
315-
run: bun run artifacts
316-
working-directory: packages/node
317-
- name: List packages
318-
run: ls -R ./npm
319-
working-directory: packages/node
312+
# - name: create npm dirs
313+
# run: bunx napi create-npm-dirs
314+
# working-directory: packages/node
315+
# - name: Download all artifacts
316+
# uses: actions/download-artifact@v5
317+
# with:
318+
# path: packages/node/artifacts
319+
# - name: Move artifacts
320+
# run: bun run artifacts
321+
# working-directory: packages/node
322+
# - name: List packages
323+
# run: ls -R ./npm
324+
# working-directory: packages/node
320325
- name: Publish
321326
run: |
322-
bun install -g @napi-rs/cli
327+
# bun install -g @napi-rs/cli
328+
bun run build
323329
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
324330
npm publish --access public
325331
env:

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)