mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-04-13 05:20:28 +08:00
revert: CI autobuild on Ubuntu 22.04 (#6547)
* chore: config * Revert "ci: update Ubuntu version to 24.04 and adjust dependencies in autobuild workflow" This reverts commit 863a80df43eb1d9a30c79395a4a5c57971430f20.
This commit is contained in:
parent
8b99bb5150
commit
6685e7a1bd
3
.gitattributes
vendored
3
.gitattributes
vendored
@ -1 +1,2 @@
|
|||||||
.github/workflows/*.lock.yml linguist-generated=true merge=ours
|
.github/workflows/*.lock.yml linguist-generated=true merge=ours
|
||||||
|
Changelog.md merge=union
|
||||||
|
|||||||
15
.github/workflows/autobuild.yml
vendored
15
.github/workflows/autobuild.yml
vendored
@ -137,7 +137,7 @@ jobs:
|
|||||||
target: aarch64-apple-darwin
|
target: aarch64-apple-darwin
|
||||||
- os: macos-latest
|
- os: macos-latest
|
||||||
target: x86_64-apple-darwin
|
target: x86_64-apple-darwin
|
||||||
- os: ubuntu-24.04
|
- os: ubuntu-22.04
|
||||||
target: x86_64-unknown-linux-gnu
|
target: x86_64-unknown-linux-gnu
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
@ -165,19 +165,10 @@ jobs:
|
|||||||
cache-workspace-crates: true
|
cache-workspace-crates: true
|
||||||
|
|
||||||
- name: Install dependencies (ubuntu only)
|
- name: Install dependencies (ubuntu only)
|
||||||
if: matrix.os == 'ubuntu-24.04'
|
if: matrix.os == 'ubuntu-22.04'
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt install \
|
sudo apt-get install -y libxslt1.1 libwebkit2gtk-4.1-dev libayatana-appindicator3-dev librsvg2-dev patchelf
|
||||||
libwebkit2gtk-4.1-dev \
|
|
||||||
build-essential \
|
|
||||||
curl \
|
|
||||||
wget \
|
|
||||||
file \
|
|
||||||
libxdo-dev \
|
|
||||||
libssl-dev \
|
|
||||||
libayatana-appindicator3-dev \
|
|
||||||
librsvg2-dev
|
|
||||||
|
|
||||||
- name: Install x86 OpenSSL (macOS only)
|
- name: Install x86 OpenSSL (macOS only)
|
||||||
if: matrix.target == 'x86_64-apple-darwin'
|
if: matrix.target == 'x86_64-apple-darwin'
|
||||||
|
|||||||
@ -34,7 +34,11 @@ export default defineConfig([
|
|||||||
globals: globals.browser,
|
globals: globals.browser,
|
||||||
parserOptions: {
|
parserOptions: {
|
||||||
projectService: {
|
projectService: {
|
||||||
allowDefaultProject: ['eslint.config.ts', 'src/polyfills/*.js'],
|
allowDefaultProject: [
|
||||||
|
'eslint.config.ts',
|
||||||
|
`vite.config.mts`,
|
||||||
|
'src/polyfills/*.js',
|
||||||
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
@ -127,7 +127,7 @@
|
|||||||
"eslint --fix --max-warnings=0",
|
"eslint --fix --max-warnings=0",
|
||||||
"prettier --write"
|
"prettier --write"
|
||||||
],
|
],
|
||||||
"*.{js,mjs,css,scss,json,md,toml}": [
|
"*.{js,mjs,css,scss,json,md,toml,yaml,yml}": [
|
||||||
"prettier --write"
|
"prettier --write"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user