mirror of
https://github.com/142vip/408CSFamily.git
synced 2026-05-11 10:40:19 +08:00
chore: 流水线运行平台改为macos-latest
This commit is contained in:
6
.github/workflows/CI.yml
vendored
6
.github/workflows/CI.yml
vendored
@@ -22,7 +22,7 @@ on:
|
||||
jobs:
|
||||
install-init:
|
||||
name: "依赖安装初始化"
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: macos-latest
|
||||
permissions:
|
||||
actions: read
|
||||
pull-requests: read
|
||||
@@ -54,7 +54,7 @@ jobs:
|
||||
key: ${{ runner.os }}-node_modules-${{ hashFiles('**/pnpm-lock.yaml') }}
|
||||
Base-Build:
|
||||
name: "基础编译构建"
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: macos-latest
|
||||
needs: install-init
|
||||
steps:
|
||||
- name: Checkout Code
|
||||
@@ -79,7 +79,7 @@ jobs:
|
||||
|
||||
Build-Docker-Image:
|
||||
name: "构建Docker镜像"
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: macos-latest
|
||||
needs: install-init
|
||||
## 主库且tag更新时执行
|
||||
if: github.repository == '142vip/408CSFamily' && startsWith(github.ref, 'refs/tags/v')
|
||||
|
||||
Reference in New Issue
Block a user