Skip to content

Commit

Permalink
now should work!
Browse files Browse the repository at this point in the history
  • Loading branch information
arvid220u committed Feb 18, 2024
1 parent 4077877 commit 0f9b393
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 19 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,11 @@ jobs:
strategy:
matrix:
target:
# - x86_64-pc-windows-msvc
# TODO: we should figure out how to build linux
- x86_64-pc-windows-msvc
- x86_64-unknown-linux-gnu
# - aarch64-unknown-linux-gnu
# - x86_64-apple-darwin
# - aarch64-apple-darwin
- aarch64-unknown-linux-gnu
- x86_64-apple-darwin
- aarch64-apple-darwin

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -66,15 +65,12 @@ jobs:
- name: Node install
run: pnpm i

- name: Debug CI
run: curl -sSf https://sshx.io/get | sh -s run

- name: Build Mac and Linux
if: matrix.target != 'x86_64-pc-windows-msvc'
if: matrix.target != 'x86_64-pc-windows-msvc' && matrix.target != 'x86_64-unknown-linux-gnu'
run: pnpm run build -- --zig --target ${{ matrix.target }}

- name: Build Windows
if: matrix.target == 'x86_64-pc-windows-msvc'
if: matrix.target == 'x86_64-pc-windows-msvc' || matrix.target == 'x86_64-unknown-linux-gnu'
run: pnpm run build -- --target ${{ matrix.target }}

- name: Upload artifact
Expand Down
2 changes: 1 addition & 1 deletion priompt-preview/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@anysphere/priompt-preview",
"license": "MIT",
"version": "0.1.9",
"version": "0.1.26",
"description": "An interactive preview of priompt prompts.",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion priompt/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@anysphere/priompt",
"license": "MIT",
"version": "0.1.9",
"version": "0.1.26",
"description": "A JSX-based prompt design library.",
"keywords": [
"prompting",
Expand Down
2 changes: 1 addition & 1 deletion tiktoken-node/npm/darwin-arm64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@anysphere/tiktoken-node-darwin-arm64",
"version": "0.1.24",
"version": "0.1.26",
"os": [
"darwin"
],
Expand Down
2 changes: 1 addition & 1 deletion tiktoken-node/npm/darwin-x64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@anysphere/tiktoken-node-darwin-x64",
"version": "0.1.24",
"version": "0.1.26",
"os": [
"darwin"
],
Expand Down
2 changes: 1 addition & 1 deletion tiktoken-node/npm/linux-arm64-gnu/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@anysphere/tiktoken-node-linux-arm64-gnu",
"version": "0.1.24",
"version": "0.1.26",
"os": [
"linux"
],
Expand Down
2 changes: 1 addition & 1 deletion tiktoken-node/npm/linux-x64-gnu/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@anysphere/tiktoken-node-linux-x64-gnu",
"version": "0.1.24",
"version": "0.1.26",
"os": [
"linux"
],
Expand Down
2 changes: 1 addition & 1 deletion tiktoken-node/npm/win32-arm64-msvc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@anysphere/tiktoken-node-win32-arm64-msvc",
"version": "0.1.24",
"version": "0.1.26",
"os": [
"win32"
],
Expand Down
2 changes: 1 addition & 1 deletion tiktoken-node/npm/win32-x64-msvc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@anysphere/tiktoken-node-win32-x64-msvc",
"version": "0.1.24",
"version": "0.1.26",
"os": [
"win32"
],
Expand Down
2 changes: 1 addition & 1 deletion tiktoken-node/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@anysphere/tiktoken-node",
"version": "0.1.24",
"version": "0.1.26",
"main": "index.js",
"types": "index.d.ts",
"napi": {
Expand Down

0 comments on commit 0f9b393

Please sign in to comment.