mirror of
https://github.com/hanzoai/utf-8-validate.git
synced 2026-09-24 17:03:57 +00:00
[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user