From f2201297598b7622bdbac3451902648da4d03077 Mon Sep 17 00:00:00 2001 From: mmdapl <40396940+mmdapl@users.noreply.github.com> Date: Thu, 28 Sep 2023 15:19:38 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=B5=81=E6=B0=B4=E7=BA=BF=E8=BF=90?= =?UTF-8?q?=E8=A1=8C=E5=B9=B3=E5=8F=B0=E6=94=B9=E4=B8=BAmacos-latest?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/CD.yaml | 8 ++++---- .github/workflows/CI.yml | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/CD.yaml b/.github/workflows/CD.yaml index 6dfea2d..1663d74 100644 --- a/.github/workflows/CD.yaml +++ b/.github/workflows/CD.yaml @@ -21,7 +21,7 @@ env: jobs: install-init: name: "依赖安装初始化" - runs-on: ubuntu-latest + runs-on: macos-latest steps: - name: Checkout Code @@ -54,7 +54,7 @@ jobs: deploy-github: name: "部署到Github-Pages" needs: install-init - runs-on: ubuntu-latest + runs-on: macos-latest steps: - name: Checkout Code @@ -86,7 +86,7 @@ jobs: deploy-vercel: name: "部署到Vercel平台" needs: install-init - runs-on: ubuntu-latest + runs-on: macos-latest if: github.repository == '142vip/408CSFamily' steps: - name: Checkout Code @@ -114,7 +114,7 @@ jobs: ## 版本发布 release: name: "创建Github发布" - runs-on: ubuntu-latest + runs-on: macos-latest needs: install-init ## 主库master、next且执行release更新时执行 if: github.repository == '142vip/408CSFamily' && startsWith(github.event.head_commit.message, 'chore(release):') diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 540f66a..551730f 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -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')