mirror of
https://github.com/SukkaW/Surge.git
synced 2025-12-13 17:50:34 +08:00
CI: use ubuntu-slim when possible
This commit is contained in:
parent
b510042426
commit
059e8507c7
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
@ -122,7 +122,7 @@ jobs:
|
|||||||
needs:
|
needs:
|
||||||
- build
|
- build
|
||||||
name: Diff output
|
name: Diff output
|
||||||
runs-on: ubuntu-24.04-arm
|
runs-on: ubuntu-slim
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/download-artifact@v4
|
- uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
@ -142,7 +142,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-24.04
|
runs-on: ubuntu-slim
|
||||||
# matrix is a tricky way to define a variable directly in the action yaml
|
# matrix is a tricky way to define a variable directly in the action yaml
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
@ -176,7 +176,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-24.04
|
runs-on: ubuntu-slim
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/download-artifact@v4
|
- uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user