浏览代码

CI: test GitHub arm64 runner

SukkaW 1 年之前
父节点
当前提交
c8fb446bb5
共有 2 个文件被更改,包括 4 次插入4 次删除
  1. 1 1
      .github/workflows/check-source-domain.yml
  2. 3 3
      .github/workflows/main.yml

+ 1 - 1
.github/workflows/check-source-domain.yml

@@ -6,7 +6,7 @@ on:
 jobs:
   check:
     name: Check
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-24.04-arm
 
     steps:
       # - name: Tune GitHub-hosted runner network

+ 3 - 3
.github/workflows/main.yml

@@ -13,7 +13,7 @@ concurrency:
 jobs:
   build:
     name: Build
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-24.04-arm
 
     steps:
       # - name: Tune GitHub-hosted runner network
@@ -92,7 +92,7 @@ jobs:
       - build
     name: Deploy to Cloudflare Pages
     if: github.ref == 'refs/heads/master'
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-24.04-arm
     steps:
       - name: Get NPM cache directory path
         id: npm_cache_path
@@ -121,7 +121,7 @@ jobs:
       - build
     name: Deploy to GitHub and GitLab
     if: github.ref == 'refs/heads/master'
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-24.04-arm
     steps:
       - uses: actions/download-artifact@v4
         with: