From 62c281aeb5955c7fb1e4f0d72012197aaa942f8b Mon Sep 17 00:00:00 2001 From: chris1111 Date: Sun, 4 Oct 2026 16:15:20 -0400 Subject: [PATCH 1/4] Add alpha_build input for workflow dispatch --- .github/workflows/main.yml | 40 +++++++++++++++++++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 27ed4c66f7..3263f932d9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,6 +8,12 @@ on: - '*' pull_request: workflow_dispatch: + inputs: + alpha_build: + description: 'Publish as Clover-Build-Alpha rolling release' + required: false + default: true + type: boolean jobs: build-macos: @@ -60,7 +66,20 @@ jobs: CLOVERX64.efi.zip Clover_r*.pkg - - name: Publish Release + - name: Verify Release Assets + run: | + shopt -s nullglob + missing=() + for pattern in '*.7z' 'CloverV2*.zip' 'CLOVERX64.efi.zip' 'Clover_r*.pkg'; do + files=($pattern) + if [ ${#files[@]} -eq 0 ]; then missing+=("$pattern"); fi + done + if [ ${#missing[@]} -gt 0 ]; then + echo "::error::Missing expected release artifact(s): ${missing[*]}" + exit 1 + fi + + - name: Publish Tagged Release if: startsWith(github.ref, 'refs/tags/') uses: softprops/action-gh-release@v3 with: @@ -70,3 +89,22 @@ jobs: CLOVERX64.efi.zip Clover_r*.pkg generate_release_notes: true + prerelease: ${{ contains(github.ref_name, 'alpha') || contains(github.ref_name, 'beta') }} + + - name: Publish Alpha Rolling Release + if: github.event_name == 'workflow_dispatch' && inputs.alpha_build == true + uses: softprops/action-gh-release@v3 + with: + tag_name: Clover-Build-Alpha + name: "Clover Build Alpha (${{ env.GIT_SHA }})" + body: | + Automated alpha build from commit `${{ env.GIT_SHA }}` on branch `${{ github.ref_name }}`. + This is a rolling pre-release and will be overwritten by future alpha builds. + files: | + *.7z + CloverV2*.zip + CLOVERX64.efi.zip + Clover_r*.pkg + generate_release_notes: false + prerelease: true + make_latest: false From def057191ad5ac0b7e199e048901a6af47b73385 Mon Sep 17 00:00:00 2001 From: chris1111 Date: Sun, 4 Oct 2026 17:30:18 -0400 Subject: [PATCH 2/4] Update description for alpha_build input in workflow --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3263f932d9..834cf631d1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,7 +10,7 @@ on: workflow_dispatch: inputs: alpha_build: - description: 'Publish as Clover-Build-Alpha rolling release' + description: 'Publish as Clover-Build-Alpha rolling_release' required: false default: true type: boolean From 94a415eb8a118c0bffae82d9b4f57f33a8e4cf00 Mon Sep 17 00:00:00 2001 From: chris1111 Date: Sun, 4 Oct 2026 18:16:04 -0400 Subject: [PATCH 3/4] Update condition for publishing Alpha Rolling Release --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 834cf631d1..0ca0f0753a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -92,7 +92,7 @@ jobs: prerelease: ${{ contains(github.ref_name, 'alpha') || contains(github.ref_name, 'beta') }} - name: Publish Alpha Rolling Release - if: github.event_name == 'workflow_dispatch' && inputs.alpha_build == true + if: (github.event_name == 'workflow_dispatch' && inputs.alpha_build == true) || (github.event_name == 'push' && github.ref == 'refs/heads/master') uses: softprops/action-gh-release@v3 with: tag_name: Clover-Build-Alpha From 18669071ca35aef25e666eebd817ff27ccbff706 Mon Sep 17 00:00:00 2001 From: chris1111 Date: Sun, 4 Oct 2026 18:59:28 -0400 Subject: [PATCH 4/4] Add download links to README Added download links for Automated Alpha Build and Latest Release. --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index da74457e10..4d7c12a2fb 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,9 @@ Bootloader for macOS, Windows and Linux in UEFI and in legacy mode ### Read the DOC [Clover-Wiki](https://github.com/CloverHackyColor/CloverBootloader/wiki) / [Clover-Documentation](https://github.com/CloverHackyColor/Clover-Documentation) / [Clover History](https://htmlpreview.github.io/?https://github.com/CloverHackyColor/CloverBootloader/blob/master/Clover%20History.html) +### Downloads ➡︎ [Automated-Alpha-Build from commit](https://github.com/CloverHackyColor/CloverBootloader/releases/tag/Clover-Build-Alpha) +### Downloads ➡︎ [Latest Release](https://github.com/CloverHackyColor/CloverBootloader/releases) + # Features - Boot macOS, Windows, and Linux in UEFI