mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-12-26 16:47:40 +01:00
CI: Add CPV and remove Upload to Release stage
This commit is contained in:
parent
75b7443625
commit
e66d417326
28
.github/workflows/main.yml
vendored
28
.github/workflows/main.yml
vendored
@ -30,13 +30,16 @@ jobs:
|
|||||||
HOMEBREW_NO_AUTO_UPDATE: 1
|
HOMEBREW_NO_AUTO_UPDATE: 1
|
||||||
|
|
||||||
- name: Build Clover Pack
|
- name: Build Clover Pack
|
||||||
run: ./buildme "" ci
|
run: |
|
||||||
|
chmod +x ./buildme
|
||||||
|
./buildme "" ci
|
||||||
|
|
||||||
- name: Prepare Release Packs
|
- name: Prepare Release Packs
|
||||||
run: |
|
run: |
|
||||||
(cd "CloverPackage/CloverV2/EFI/CLOVER/" && zip -q "CLOVERX64.efi.zip" "CLOVERX64.efi" || exit 1)
|
(cd "CloverPackage/CloverV2/EFI/CLOVER/" && zip -q "CLOVERX64.efi.zip" "CLOVERX64.efi" || exit 1)
|
||||||
(cd "CloverPackage/sym/CloverISO-${{ env.CUR_TAG }}" && 7z a Clover-${{ env.CUR_TAG }}-X64.iso.7z *.iso || exit 1)
|
(cd "CloverPackage/sym/CloverISO-${{ env.CUR_TAG }}" && 7z a Clover-${{ env.CUR_TAG }}-X64.iso.7z *.iso || exit 1)
|
||||||
releaseItems=(CloverPackage/sym/CloverISO*/*.7z CloverPackage/sym/Clover.app*.pkg CloverPackage/sym/CloverV2*.zip CloverPackage/CloverV2/EFI/CLOVER/CLOVERX64.efi.zip CloverPackage/sym/Clover_r*.pkg)
|
(cd "CloverPackage/CloverConfigPlistValidator/" && mv CloverConfigPlistValidator* "CloverConfigPlistValidator" && zip -q "CloverConfigPlistValidator.zip" "CloverConfigPlistValidator" || exit 1)
|
||||||
|
releaseItems=(CloverPackage/sym/CloverISO*/*.7z CloverPackage/sym/Clover.app*.pkg CloverPackage/CloverConfigPlistValidator/CloverConfigPlistValidator.zip CloverPackage/sym/CloverV2*.zip CloverPackage/CloverV2/EFI/CLOVER/CLOVERX64.efi.zip CloverPackage/sym/Clover_r*.pkg)
|
||||||
for releaseItem in "${releaseItems[@]}"; do cp -Rf "${releaseItem}" ./ || exit 1; done
|
for releaseItem in "${releaseItems[@]}"; do cp -Rf "${releaseItem}" ./ || exit 1; done
|
||||||
|
|
||||||
- name: Generate Release Notes
|
- name: Generate Release Notes
|
||||||
@ -54,17 +57,18 @@ jobs:
|
|||||||
path: |
|
path: |
|
||||||
*.7z
|
*.7z
|
||||||
Clover.app*.pkg
|
Clover.app*.pkg
|
||||||
|
CloverConfigPlistValidator.zip
|
||||||
CloverV2*.zip
|
CloverV2*.zip
|
||||||
CLOVERX64.efi.zip
|
CLOVERX64.efi.zip
|
||||||
Clover_r*.pkg
|
Clover_r*.pkg
|
||||||
|
|
||||||
- name: Upload to Release
|
# - name: Upload to Release
|
||||||
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
|
# if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
|
||||||
uses: ncipollo/release-action@v1
|
# uses: ncipollo/release-action@v1
|
||||||
with:
|
# with:
|
||||||
artifacts: ./*.7z, ./Clover.app*.pkg, ./CloverV2*.zip, ./CLOVERX64.efi.zip, ./Clover_r*.pkg
|
# artifacts: ./*.7z, ./Clover.app*.pkg, ./CloverConfigPlistValidator.zip, ./CloverV2*.zip, ./CLOVERX64.efi.zip, ./Clover_r*.pkg
|
||||||
bodyFile: ReleaseNotes.md
|
# bodyFile: ReleaseNotes.md
|
||||||
name: Release v5.1 r${{ env.CUR_TAG }}
|
# name: Release v5.1 r${{ env.CUR_TAG }}
|
||||||
prerelease: false
|
# prerelease: false
|
||||||
tag: ${{ env.CUR_TAG }}
|
# tag: ${{ env.CUR_TAG }}
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
# token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -11,6 +11,7 @@
|
|||||||
|
|
||||||
# /CloverPackage/
|
# /CloverPackage/
|
||||||
/CloverPackage/sym/
|
/CloverPackage/sym/
|
||||||
|
/CloverPackage/CloverConfigPlistValidator/
|
||||||
/CloverPackage/CloverV2/BootSectors/boot0af
|
/CloverPackage/CloverV2/BootSectors/boot0af
|
||||||
/CloverPackage/CloverV2/BootSectors/boot0ss
|
/CloverPackage/CloverV2/BootSectors/boot0ss
|
||||||
/CloverPackage/CloverV2/BootSectors/boot0md
|
/CloverPackage/CloverV2/BootSectors/boot0md
|
||||||
|
Loading…
Reference in New Issue
Block a user