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