降级ubuntu版本到20.04,以兼容更多老设备。
Signed-off-by: Tlntin <TlntinDeng01@Gmail.com>
This commit is contained in:
7
.github/workflows/pake_build.yaml
vendored
7
.github/workflows/pake_build.yaml
vendored
@@ -4,7 +4,6 @@ on:
|
|||||||
# Sequence of patterns matched against refs/tags
|
# Sequence of patterns matched against refs/tags
|
||||||
tags:
|
tags:
|
||||||
- "V*"
|
- "V*"
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@@ -15,7 +14,7 @@ jobs:
|
|||||||
build: [linux, windows, macos]
|
build: [linux, windows, macos]
|
||||||
include:
|
include:
|
||||||
- build: linux
|
- build: linux
|
||||||
os: ubuntu-latest
|
os: ubuntu-20.04
|
||||||
rust: nightly
|
rust: nightly
|
||||||
target: x86_64-unknown-linux-musl
|
target: x86_64-unknown-linux-musl
|
||||||
- build: windows
|
- build: windows
|
||||||
@@ -46,13 +45,13 @@ jobs:
|
|||||||
target: ${{ matrix.target }}
|
target: ${{ matrix.target }}
|
||||||
|
|
||||||
- name: install dependencies (ubuntu only)
|
- name: install dependencies (ubuntu only)
|
||||||
if: matrix.os == 'ubuntu-latest'
|
if: matrix.os == 'ubuntu-20.04'
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf gnome-video-effects gnome-video-effects-extra
|
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf gnome-video-effects gnome-video-effects-extra
|
||||||
|
|
||||||
- name: build for Ubuntu
|
- name: build for Ubuntu
|
||||||
if: matrix.os == 'ubuntu-latest'
|
if: matrix.os == 'ubuntu-20.04'
|
||||||
run: npm run build:all-unix
|
run: npm run build:all-unix
|
||||||
|
|
||||||
- name: build for MacOS
|
- name: build for MacOS
|
||||||
|
|||||||
Reference in New Issue
Block a user