Skip to content

Commit ac2338f

Browse files
committed
[ci] Use Ubuntu 22.04 to build the prebuilt binary for Linux
The Ubuntu 20.04 Actions runner image is no longer supported.
1 parent 1439ad4 commit ac2338f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,13 @@ jobs:
4949
- x86
5050
os:
5151
- macos-latest
52-
- ubuntu-20.04
52+
- ubuntu-22.04
5353
- windows-latest
5454
exclude:
5555
- arch: x86
5656
os: macos-latest
5757
- arch: x86
58-
os: ubuntu-20.04
58+
os: ubuntu-22.04
5959
steps:
6060
- uses: actions/checkout@v4
6161
- uses: actions/setup-node@v4
@@ -68,7 +68,7 @@ jobs:
6868
- run: |
6969
npm run prebuild
7070
npm run prebuild-linux-musl-x64
71-
if: matrix.os == 'ubuntu-20.04'
71+
if: matrix.os == 'ubuntu-22.04'
7272
- run: npm run prebuild
7373
if: matrix.os == 'windows-latest'
7474
- uses: actions/upload-artifact@v4
@@ -94,7 +94,7 @@ jobs:
9494
darwin-x64+arm64
9595
- run:
9696
tar -cvf "${{ steps.get_version.outputs.version }}-linux-x64.tar" -C
97-
"prebuilds/ubuntu-20.04-x64" linux-x64
97+
"prebuilds/ubuntu-22.04-x64" linux-x64
9898
- run:
9999
tar -cvf "${{ steps.get_version.outputs.version }}-win32-ia32.tar" -C
100100
"prebuilds/windows-latest-x86" win32-ia32

0 commit comments

Comments
 (0)