ci: 统一使用 ubuntu 24.04 运行 ci(20.04 将被弃用) (#271)
This commit is contained in:
6
.github/workflows/build-binary.yaml
vendored
6
.github/workflows/build-binary.yaml
vendored
@@ -6,7 +6,7 @@ on:
|
||||
jobs:
|
||||
build-frontend:
|
||||
name: Build frontend
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-24.04
|
||||
defaults:
|
||||
run:
|
||||
working-directory: web
|
||||
@@ -41,12 +41,12 @@ jobs:
|
||||
matrix:
|
||||
platform:
|
||||
- release_for: Linux-x86_64
|
||||
os: ubuntu-20.04
|
||||
os: ubuntu-24.04
|
||||
target: x86_64-unknown-linux-musl
|
||||
bin: bili-sync-rs
|
||||
name: bili-sync-rs-Linux-x86_64-musl.tar.gz
|
||||
- release_for: Linux-aarch64
|
||||
os: ubuntu-20.04
|
||||
os: ubuntu-24.04
|
||||
target: aarch64-unknown-linux-musl
|
||||
bin: bili-sync-rs
|
||||
name: bili-sync-rs-Linux-aarch64-musl.tar.gz
|
||||
|
||||
2
.github/workflows/build-doc.yaml
vendored
2
.github/workflows/build-doc.yaml
vendored
@@ -10,7 +10,7 @@ on:
|
||||
jobs:
|
||||
doc:
|
||||
name: Build documentation
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-24.04
|
||||
defaults:
|
||||
run:
|
||||
working-directory: docs
|
||||
|
||||
2
.github/workflows/pr-check.yaml
vendored
2
.github/workflows/pr-check.yaml
vendored
@@ -20,7 +20,7 @@ env:
|
||||
jobs:
|
||||
tests:
|
||||
name: Run Clippy and tests
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-24.04
|
||||
if: ${{ github.event_name == 'push' || !github.event.pull_request.draft }}
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
|
||||
4
.github/workflows/release-build.yaml
vendored
4
.github/workflows/release-build.yaml
vendored
@@ -11,7 +11,7 @@ jobs:
|
||||
github-release:
|
||||
name: Create GitHub Release
|
||||
needs: build-binary
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-24.04
|
||||
permissions:
|
||||
contents: write
|
||||
steps:
|
||||
@@ -30,7 +30,7 @@ jobs:
|
||||
docker-release:
|
||||
name: Create Docker Image
|
||||
needs: build-binary
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-24.04
|
||||
permissions:
|
||||
contents: write
|
||||
steps:
|
||||
|
||||
Reference in New Issue
Block a user