diff --git a/.github/workflows/linux-aarch64.yml b/.github/workflows/linux-aarch64.yml index 024700b..5bdf031 100644 --- a/.github/workflows/linux-aarch64.yml +++ b/.github/workflows/linux-aarch64.yml @@ -1,9 +1,9 @@ name: Linux AArch64 Build on: push: - branches: [ "gh-pipeline" ] + branches: [ "gh-build" ] pull_request: - branches: [ "gh-pipeline" ] + branches: [ "gh-build" ] jobs: aarch64-linux-build-and-upload: @@ -22,7 +22,7 @@ jobs: apt-get install build-essential -y -q apt-get install git -y -q pwd ; ls -al - git clone https://github.com/RubyMetric/chsrc -b gh-pipeline -q + git clone https://github.com/RubyMetric/chsrc -b gh-build -q cd chsrc make CI CI_Build_Name=chsrc-aarch64-linux cp ./chsrc-aarch64-linux /artifacts diff --git a/.github/workflows/linux-armv7.yml b/.github/workflows/linux-armv7.yml index af70e74..4f72cf1 100644 --- a/.github/workflows/linux-armv7.yml +++ b/.github/workflows/linux-armv7.yml @@ -1,9 +1,9 @@ name: Linux ARMv7 Build on: push: - branches: [ "gh-pipeline" ] + branches: [ "gh-build" ] pull_request: - branches: [ "gh-pipeline" ] + branches: [ "gh-build" ] jobs: armv7-linu-build-and-upload: @@ -22,7 +22,7 @@ jobs: apt-get install build-essential -y -q apt-get install git -y -q pwd ; ls -al - git clone https://github.com/RubyMetric/chsrc -b gh-pipeline -q + git clone https://github.com/RubyMetric/chsrc -b gh-build -q cd chsrc make CI CI_Build_Name=chsrc-armv7-linux cp ./chsrc-armv7-linux /artifacts diff --git a/.github/workflows/linux-riscv64.yml b/.github/workflows/linux-riscv64.yml index 5760b1b..6cd5927 100644 --- a/.github/workflows/linux-riscv64.yml +++ b/.github/workflows/linux-riscv64.yml @@ -1,9 +1,9 @@ name: Linux riscv64 Build on: push: - branches: [ "gh-pipeline" ] + branches: [ "gh-build" ] pull_request: - branches: [ "gh-pipeline" ] + branches: [ "gh-build" ] jobs: riscv64-linux-build-and-upload: @@ -22,7 +22,7 @@ jobs: apt-get install build-essential -y -q apt-get install git -y -q pwd ; ls -al - git clone https://github.com/RubyMetric/chsrc -b gh-pipeline -q + git clone https://github.com/RubyMetric/chsrc -b gh-build -q cd chsrc make CI CI_Build_Name=chsrc-riscv64-linux cp ./chsrc-riscv64-linux /artifacts diff --git a/.github/workflows/linux-x64.yml b/.github/workflows/linux-x64.yml index 9b1c10f..12e875b 100644 --- a/.github/workflows/linux-x64.yml +++ b/.github/workflows/linux-x64.yml @@ -1,9 +1,9 @@ name: Linux x64 Build on: push: - branches: [ "gh-pipeline" ] + branches: [ "gh-build" ] pull_request: - branches: [ "gh-pipeline" ] + branches: [ "gh-build" ] jobs: x64-linux-build-and-upload: diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 96caae0..9c308ab 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -1,9 +1,9 @@ name: macOS Build on: push: - branches: [ "gh-pipeline" ] + branches: [ "gh-build" ] pull_request: - branches: [ "gh-pipeline" ] + branches: [ "gh-build" ] jobs: build-and-upload-on-M1: diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 85618f4..c684ee8 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -1,9 +1,9 @@ name: Windows Build on: push: - branches: [ "gh-pipeline" ] + branches: [ "gh-build" ] pull_request: - branches: [ "gh-pipeline" ] + branches: [ "gh-build" ] jobs: build-and-upload: diff --git a/doc/CONTRIBUTING.md b/doc/CONTRIBUTING.md index 5a1e259..8ec718f 100644 --- a/doc/CONTRIBUTING.md +++ b/doc/CONTRIBUTING.md @@ -2,7 +2,7 @@ ## 分支 -- `gh-pipeline`:仅仅在发布版本时由 `@ccmywish` 推送,触发编译到 GitHub Releases 中 +- `gh-build`:仅仅在发布版本时由 `@ccmywish` 推送,触发编译到 GitHub Releases 中 - `gh-site`:`chsrc.run` 的工作分支,由 `@ccmywish` 推送 - `main`: stable,代码一定是可以编译运行的,我们假设 end users 在其他条件都得不到二进制时,会自己编译这个分支来运行 `chsrc` - `dev`:开发分支,工作分支,在此分支上解决冲突