Reduce unnecessary CI build

Co-authored-by: Mikachu2333 <mikachu.23333@zohomail.com>
This commit is contained in:
Aoran Zeng 2025-06-19 21:03:47 +08:00
parent 72030ccec6
commit 54a93f9e19
No known key found for this signature in database
GPG Key ID: 8F8BA8488E10ED98
7 changed files with 10 additions and 19 deletions

View File

@ -4,7 +4,7 @@
# Contributors : Nul None <nul@none.org>
# |
# Created On : <2023-09-14>
# Last Modified : <2025-03-06>
# Last Modified : <2025-06-19>
#
# Build chsrc on Linux (AArch64) and upload it to GitHub: the 'pre' release
# ---------------------------------------------------------------
@ -13,8 +13,6 @@ name: 构建于 Linux AArch64
on:
push:
branches: [ "gh-build" ]
pull_request:
branches: [ "gh-build" ]
jobs:
build-and-upload:

View File

@ -4,7 +4,7 @@
# Contributors : Nul None <nul@none.org>
# |
# Created On : <2023-09-14>
# Last Modified : <2025-03-06>
# Last Modified : <2025-06-19>
#
# Build chsrc on Linux (ARMv7) and upload it to GitHub: the 'pre' release
# ---------------------------------------------------------------
@ -13,8 +13,6 @@ name: 构建于 Linux ARMv7
on:
push:
branches: [ "gh-build" ]
pull_request:
branches: [ "gh-build" ]
jobs:
build-and-upload:

View File

@ -4,7 +4,7 @@
# Contributors : Nul None <nul@none.org>
# |
# Created On : <2023-09-14>
# Last Modified : <2025-03-06>
# Last Modified : <2025-06-19>
#
# Build chsrc on Linux (riscv64) and upload it to GitHub: the 'pre' release
# ---------------------------------------------------------------
@ -13,8 +13,6 @@ name: 构建于 Linux riscv64
on:
push:
branches: [ "gh-build" ]
pull_request:
branches: [ "gh-build" ]
jobs:
build-and-upload:

View File

@ -4,7 +4,7 @@
# Contributors : Nul None <nul@none.org>
# |
# Created On : <2023-09-14>
# Last Modified : <2025-06-16>
# Last Modified : <2025-06-19>
#
# Build chsrc on Linux (x64) and upload it to GitHub: the 'pre' release
# ---------------------------------------------------------------
@ -13,8 +13,6 @@ name: 构建于 Linux x64
on:
push:
branches: [ "gh-build" ]
pull_request:
branches: [ "gh-build" ]
jobs:
build-and-upload:

View File

@ -4,7 +4,7 @@
# Contributors : Nul None <nul@none.org>
# |
# Created On : <2023-09-14>
# Last Modified : <2025-06-16>
# Last Modified : <2025-06-19>
#
# Build chsrc on Windows and upload it to GitHub: the 'pre' release
# ---------------------------------------------------------------
@ -13,8 +13,6 @@ name: 构建于 Windows
on:
push:
branches: [ "gh-build" ]
pull_request:
branches: [ "gh-build" ]
jobs:
build-and-upload:

View File

@ -4,7 +4,7 @@
# Contributors : Nul None <nul@none.org>
# |
# Created On : <2023-09-15>
# Last Modified : <2025-06-16>
# Last Modified : <2025-06-19>
#
# Build chsrc on macOS and upload it to GitHub: the 'pre' release
# ---------------------------------------------------------------
@ -13,8 +13,6 @@ name: 构建于 macOS
on:
push:
branches: [ "gh-build" ]
pull_request:
branches: [ "gh-build" ]
jobs:
build-and-upload-on-M1:

View File

@ -4,7 +4,7 @@
# Contributors : Nul None <nul@none.org>
# |
# Created On : <2024-08-29>
# Last Modified : <2025-03-18>
# Last Modified : <2025-06-19>
#
# Publish package 'chsrc-git' to AUR when branch 'main' is updated.
# ---------------------------------------------------------------
@ -14,6 +14,9 @@ on:
workflow_dispatch:
push:
branches: [ "main" ] # chsrc-git syncs with main
paths:
- "src/**"
- "lib/**"
jobs:
publish: