4
4
workflow_dispatch :
5
5
inputs :
6
6
dry_run :
7
- description : " Do a dry run, skipping the final publish step."
7
+ description : Do a dry run, skipping the final publish step.
8
8
type : boolean
9
9
10
10
jobs :
@@ -18,12 +18,13 @@ jobs:
18
18
matrix :
19
19
settings :
20
20
- host : macos-latest
21
- target : " aarch64-apple-darwin"
21
+ target : aarch64-apple-darwin
22
+
22
23
- host : macos-latest
23
- target : " x86_64-apple-darwin"
24
+ target : x86_64-apple-darwin
24
25
25
26
- host : ubuntu-latest
26
- target : " aarch64-unknown-linux-gnu"
27
+ target : aarch64-unknown-linux-gnu
27
28
setup : |
28
29
sudo apt update
29
30
sudo apt install -y g++-aarch64-linux-gnu libc6-dev-arm64-cross
32
33
echo "CXX_aarch64_unknown_linux_gnu=aarch64-linux-gnu-g++" >> $GITHUB_ENV
33
34
34
35
- host : ubuntu-latest
35
- target : " x86_64-unknown-linux-gnu"
36
+ target : x86_64-unknown-linux-gnu
36
37
container : amazon/aws-lambda-nodejs:20
37
38
install : |
38
39
microdnf install -y gcc gcc-c++ git
42
43
pnpm install
43
44
44
45
- host : ubuntu-latest
45
- target : " x86_64-unknown-linux-musl"
46
+ target : x86_64-unknown-linux-musl
46
47
container : ghcr.io/napi-rs/napi-rs/nodejs-rust:stable-2023-09-17-alpine
47
48
install : |
48
49
apk update && apk upgrade
56
57
pnpm install
57
58
58
59
- host : ubuntu-latest
59
- target : " aarch64-unknown-linux-musl"
60
+ target : aarch64-unknown-linux-musl
60
61
container : ghcr.io/napi-rs/napi-rs/nodejs-rust:stable-2023-09-17-alpine
61
62
install : |
62
63
apk update && apk upgrade
@@ -73,10 +74,10 @@ jobs:
73
74
rust_env : CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_LINKER=/aarch64-linux-musl-cross/bin/aarch64-linux-musl-gcc RUSTFLAGS="-Ctarget-feature=-crt-static"
74
75
75
76
- host : windows-latest
76
- target : " aarch64-pc-windows-msvc"
77
+ target : aarch64-pc-windows-msvc
77
78
78
79
- host : windows-latest
79
- target : " x86_64-pc-windows-msvc"
80
+ target : x86_64-pc-windows-msvc
80
81
81
82
runs-on : ${{ matrix.settings.host }}
82
83
container :
@@ -123,7 +124,7 @@ jobs:
123
124
path : packages/turbo-repository/native
124
125
125
126
package :
126
- name : " Publish to NPM"
127
+ name : Publish to NPM
127
128
runs-on : ubuntu-latest
128
129
needs : [build]
129
130
steps :
0 commit comments