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
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -1 +1,2 @@
|
||||
.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
|
||||
- os: macos-latest
|
||||
target: x86_64-apple-darwin
|
||||
- os: ubuntu-24.04
|
||||
- os: ubuntu-22.04
|
||||
target: x86_64-unknown-linux-gnu
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
@ -165,19 +165,10 @@ jobs:
|
||||
cache-workspace-crates: true
|
||||
|
||||
- name: Install dependencies (ubuntu only)
|
||||
if: matrix.os == 'ubuntu-24.04'
|
||||
if: matrix.os == 'ubuntu-22.04'
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt install \
|
||||
libwebkit2gtk-4.1-dev \
|
||||
build-essential \
|
||||
curl \
|
||||
wget \
|
||||
file \
|
||||
libxdo-dev \
|
||||
libssl-dev \
|
||||
libayatana-appindicator3-dev \
|
||||
librsvg2-dev
|
||||
sudo apt-get install -y libxslt1.1 libwebkit2gtk-4.1-dev libayatana-appindicator3-dev librsvg2-dev patchelf
|
||||
|
||||
- name: Install x86 OpenSSL (macOS only)
|
||||
if: matrix.target == 'x86_64-apple-darwin'
|
||||
|
||||
@ -34,7 +34,11 @@ export default defineConfig([
|
||||
globals: globals.browser,
|
||||
parserOptions: {
|
||||
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",
|
||||
"prettier --write"
|
||||
],
|
||||
"*.{js,mjs,css,scss,json,md,toml}": [
|
||||
"*.{js,mjs,css,scss,json,md,toml,yaml,yml}": [
|
||||
"prettier --write"
|
||||
]
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user