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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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