mirror of
https://github.com/hexedtech/codemp.git
synced 2024-11-22 15:24:48 +01:00
ci(js): sed workdir, enable mac build
This commit is contained in:
parent
decbda1bc8
commit
01f2d70ddb
2 changed files with 4 additions and 5 deletions
7
.github/workflows/javascript.yml
vendored
7
.github/workflows/javascript.yml
vendored
|
@ -20,10 +20,8 @@ jobs:
|
||||||
target: linux-x64-gnu
|
target: linux-x64-gnu
|
||||||
- runner: windows-latest
|
- runner: windows-latest
|
||||||
target: win32-x64
|
target: win32-x64
|
||||||
#- runner: macos-14
|
- runner: macos-14
|
||||||
# target: darwin-arm64
|
target: darwin-arm64
|
||||||
#- runner: macos-12
|
|
||||||
# target: darwin-64
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: arduino/setup-protoc@v3
|
- uses: arduino/setup-protoc@v3
|
||||||
|
@ -79,6 +77,7 @@ jobs:
|
||||||
# so we just sed out before releasing. this is really ugly but if it works right now i'll just
|
# so we just sed out before releasing. this is really ugly but if it works right now i'll just
|
||||||
# take it and think again about it later
|
# take it and think again about it later
|
||||||
- run: sed -i 's/"@codemp\/native"/"codemp"/' package.json
|
- run: sed -i 's/"@codemp\/native"/"codemp"/' package.json
|
||||||
|
working-directory: dist/js/publish
|
||||||
- run: npm publish
|
- run: npm publish
|
||||||
working-directory: dist/js/publish
|
working-directory: dist/js/publish
|
||||||
env:
|
env:
|
||||||
|
|
2
dist/js/publish/package.json
vendored
2
dist/js/publish/package.json
vendored
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@codemp/native",
|
"name": "@codemp/native",
|
||||||
"version": "0.0.6",
|
"version": "0.0.7",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@napi-rs/cli": "^2.18.4"
|
"@napi-rs/cli": "^2.18.4"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue