mirror of
https://github.com/SukkaW/Surge.git
synced 2025-12-13 17:50:34 +08:00
CI: test GitHub arm64 runner
This commit is contained in:
parent
7d555d0ba9
commit
c8fb446bb5
2
.github/workflows/check-source-domain.yml
vendored
2
.github/workflows/check-source-domain.yml
vendored
@ -6,7 +6,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
check:
|
check:
|
||||||
name: Check
|
name: Check
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-24.04-arm
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
# - name: Tune GitHub-hosted runner network
|
# - name: Tune GitHub-hosted runner network
|
||||||
|
|||||||
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
@ -13,7 +13,7 @@ concurrency:
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Build
|
name: Build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-24.04-arm
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
# - name: Tune GitHub-hosted runner network
|
# - name: Tune GitHub-hosted runner network
|
||||||
@ -92,7 +92,7 @@ jobs:
|
|||||||
- build
|
- build
|
||||||
name: Deploy to Cloudflare Pages
|
name: Deploy to Cloudflare Pages
|
||||||
if: github.ref == 'refs/heads/master'
|
if: github.ref == 'refs/heads/master'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-24.04-arm
|
||||||
steps:
|
steps:
|
||||||
- name: Get NPM cache directory path
|
- name: Get NPM cache directory path
|
||||||
id: npm_cache_path
|
id: npm_cache_path
|
||||||
@ -121,7 +121,7 @@ jobs:
|
|||||||
- build
|
- build
|
||||||
name: Deploy to GitHub and GitLab
|
name: Deploy to GitHub and GitLab
|
||||||
if: github.ref == 'refs/heads/master'
|
if: github.ref == 'refs/heads/master'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-24.04-arm
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/download-artifact@v4
|
- uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user