File tree Expand file tree Collapse file tree 4 files changed +13
-13
lines changed Expand file tree Collapse file tree 4 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -41,14 +41,14 @@ jobs:
41
41
yarn build --target i686-pc-windows-msvc
42
42
yarn test
43
43
target : i686-pc-windows-msvc
44
- - host : ubuntu-20 .04
44
+ - host : ubuntu-22 .04
45
45
target : x86_64-unknown-linux-gnu
46
46
build : |-
47
47
set -e &&
48
48
yarn build --target x86_64-unknown-linux-gnu &&
49
49
strip *.node &&
50
50
yarn test
51
- - host : ubuntu-20 .04
51
+ - host : ubuntu-22 .04
52
52
target : x86_64-unknown-linux-musl
53
53
docker : ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine-zig
54
54
build : |-
57
57
yarn build --target x86_64-unknown-linux-musl &&
58
58
strip *.node &&
59
59
yarn test
60
- - host : ubuntu-20 .04
60
+ - host : ubuntu-22 .04
61
61
target : aarch64-unknown-linux-musl
62
62
docker : ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
63
63
build : |-
@@ -155,7 +155,7 @@ jobs:
155
155
if-no-files-found : error
156
156
publish :
157
157
name : Publish
158
- runs-on : ubuntu-20 .04
158
+ runs-on : ubuntu-22 .04
159
159
needs :
160
160
- build
161
161
steps :
@@ -171,7 +171,7 @@ jobs:
171
171
uses : actions/cache@v4
172
172
with :
173
173
path : .yarn/cache
174
- key : npm-cache-ubuntu-20 .04-publish
174
+ key : npm-cache-ubuntu-22 .04-publish
175
175
restore-keys : |
176
176
npm-cache-
177
177
- name : Install dependencies
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ permissions:
30
30
31
31
jobs :
32
32
linux :
33
- runs-on : ubuntu-20 .04
33
+ runs-on : ubuntu-22 .04
34
34
strategy :
35
35
matrix :
36
36
target :
Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ jobs:
140
140
path : dist
141
141
142
142
linux :
143
- runs-on : ubuntu-20 .04
143
+ runs-on : ubuntu-22 .04
144
144
strategy :
145
145
matrix :
146
146
target :
Original file line number Diff line number Diff line change 13
13
push_crates_io :
14
14
# If you don't set an input tag, it's a dry run (no uploads).
15
15
if : " startsWith(github.event.ref, 'refs/tags')"
16
- runs-on : ubuntu-20 .04
16
+ runs-on : ubuntu-22 .04
17
17
steps :
18
18
- uses : actions/checkout@v4
19
19
- uses : katyo/publish-crates@v2
24
24
create-release :
25
25
# If you don't set an input tag, it's a dry run (no uploads).
26
26
if : " startsWith(github.event.ref, 'refs/tags')"
27
- runs-on : ubuntu-20 .04
27
+ runs-on : ubuntu-22 .04
28
28
steps :
29
29
- uses : actions/checkout@v4
30
30
- uses : taiki-e/create-gh-release-action@v1
47
47
- target : x86_64-apple-darwin
48
48
os : macos-latest
49
49
- target : x86_64-unknown-linux-gnu
50
- os : ubuntu-20 .04
50
+ os : ubuntu-22 .04
51
51
- target : aarch64-unknown-linux-gnu
52
- os : ubuntu-20 .04
52
+ os : ubuntu-22 .04
53
53
runs-on : ${{ matrix.os }}
54
54
steps :
55
55
- uses : actions/checkout@v4
69
69
# (required)
70
70
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
71
71
release-npm :
72
- runs-on : ubuntu-20 .04
72
+ runs-on : ubuntu-22 .04
73
73
name : Release npm cli
74
74
needs :
75
75
- upload-assets
@@ -115,7 +115,7 @@ jobs:
115
115
echo "Publishing @ast-grep/cli...";
116
116
npm publish
117
117
changelog :
118
- runs-on : ubuntu-20 .04
118
+ runs-on : ubuntu-22 .04
119
119
steps :
120
120
- name : " ✏️ Generate release changelog"
121
121
uses : heinrichreimer/action-github-changelog-generator@v2.4
You can’t perform that action at this time.
0 commit comments