[ci] Use Ubuntu 20.04 to build the prebuilt binary for Linux

The Ubuntu 18.04 Actions runner image is no longer supported.
This commit is contained in:
Luigi Pinca
2023-10-15 21:00:49 +02:00
parent e467a0171f
commit 8a5192c94a
+4 -4
View File
@@ -50,13 +50,13 @@ jobs:
- x86
os:
- macos-latest
- ubuntu-18.04
- ubuntu-20.04
- windows-latest
exclude:
- arch: x86
os: macos-latest
- arch: x86
os: ubuntu-18.04
os: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
@@ -69,7 +69,7 @@ jobs:
- run: |
npm run prebuild
npm run prebuild-linux-musl-x64
if: matrix.os == 'ubuntu-18.04'
if: matrix.os == 'ubuntu-20.04'
- run: npm run prebuild
if: matrix.os == 'windows-latest'
- uses: actions/upload-artifact@v3
@@ -94,7 +94,7 @@ jobs:
}}-darwin-x64+arm64.tar" -C "prebuilds/macos-latest" .
- run:
tar -cvf "${{ steps.get_version.outputs.version }}-linux-x64.tar" -C
"prebuilds/ubuntu-18.04" linux-x64
"prebuilds/ubuntu-20.04" linux-x64
- run:
tar -cvf "${{ steps.get_version.outputs.version }}-win32-ia32.tar" -C
"prebuilds/windows-latest" win32-ia32