Skip to content

Commit 96f5500

Browse files
fix: bump ubuntu version
1 parent 28946f9 commit 96f5500

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

.github/workflows/napi.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,14 @@ jobs:
4141
yarn build --target i686-pc-windows-msvc
4242
yarn test
4343
target: i686-pc-windows-msvc
44-
- host: ubuntu-20.04
44+
- host: ubuntu-22.04
4545
target: x86_64-unknown-linux-gnu
4646
build: |-
4747
set -e &&
4848
yarn build --target x86_64-unknown-linux-gnu &&
4949
strip *.node &&
5050
yarn test
51-
- host: ubuntu-20.04
51+
- host: ubuntu-22.04
5252
target: x86_64-unknown-linux-musl
5353
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine-zig
5454
build: |-
@@ -57,7 +57,7 @@ jobs:
5757
yarn build --target x86_64-unknown-linux-musl &&
5858
strip *.node &&
5959
yarn test
60-
- host: ubuntu-20.04
60+
- host: ubuntu-22.04
6161
target: aarch64-unknown-linux-musl
6262
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
6363
build: |-
@@ -155,7 +155,7 @@ jobs:
155155
if-no-files-found: error
156156
publish:
157157
name: Publish
158-
runs-on: ubuntu-20.04
158+
runs-on: ubuntu-22.04
159159
needs:
160160
- build
161161
steps:
@@ -171,7 +171,7 @@ jobs:
171171
uses: actions/cache@v4
172172
with:
173173
path: .yarn/cache
174-
key: npm-cache-ubuntu-20.04-publish
174+
key: npm-cache-ubuntu-22.04-publish
175175
restore-keys: |
176176
npm-cache-
177177
- name: Install dependencies

.github/workflows/pyo3.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ permissions:
3030

3131
jobs:
3232
linux:
33-
runs-on: ubuntu-20.04
33+
runs-on: ubuntu-22.04
3434
strategy:
3535
matrix:
3636
target:

.github/workflows/pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ jobs:
140140
path: dist
141141

142142
linux:
143-
runs-on: ubuntu-20.04
143+
runs-on: ubuntu-22.04
144144
strategy:
145145
matrix:
146146
target:

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
push_crates_io:
1414
# If you don't set an input tag, it's a dry run (no uploads).
1515
if: "startsWith(github.event.ref, 'refs/tags')"
16-
runs-on: ubuntu-20.04
16+
runs-on: ubuntu-22.04
1717
steps:
1818
- uses: actions/checkout@v4
1919
- uses: katyo/publish-crates@v2
@@ -24,7 +24,7 @@ jobs:
2424
create-release:
2525
# If you don't set an input tag, it's a dry run (no uploads).
2626
if: "startsWith(github.event.ref, 'refs/tags')"
27-
runs-on: ubuntu-20.04
27+
runs-on: ubuntu-22.04
2828
steps:
2929
- uses: actions/checkout@v4
3030
- uses: taiki-e/create-gh-release-action@v1
@@ -47,9 +47,9 @@ jobs:
4747
- target: x86_64-apple-darwin
4848
os: macos-latest
4949
- target: x86_64-unknown-linux-gnu
50-
os: ubuntu-20.04
50+
os: ubuntu-22.04
5151
- target: aarch64-unknown-linux-gnu
52-
os: ubuntu-20.04
52+
os: ubuntu-22.04
5353
runs-on: ${{ matrix.os }}
5454
steps:
5555
- uses: actions/checkout@v4
@@ -69,7 +69,7 @@ jobs:
6969
# (required)
7070
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7171
release-npm:
72-
runs-on: ubuntu-20.04
72+
runs-on: ubuntu-22.04
7373
name: Release npm cli
7474
needs:
7575
- upload-assets
@@ -115,7 +115,7 @@ jobs:
115115
echo "Publishing @ast-grep/cli...";
116116
npm publish
117117
changelog:
118-
runs-on: ubuntu-20.04
118+
runs-on: ubuntu-22.04
119119
steps:
120120
- name: "✏️ Generate release changelog"
121121
uses: heinrichreimer/action-github-changelog-generator@v2.4

0 commit comments

Comments
 (0)