mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-30 12:43:41 +01:00
Merge pull request #399 from stevezhengshiqi/master
CI: Adapt new buildme and Remove Upload to Release stage
This commit is contained in:
commit
8b2af7e287
24
.github/workflows/main.yml
vendored
24
.github/workflows/main.yml
vendored
@ -30,7 +30,9 @@ jobs:
|
||||
HOMEBREW_NO_AUTO_UPDATE: 1
|
||||
|
||||
- name: Build Clover Pack
|
||||
run: ./buildme "" ci
|
||||
run: |
|
||||
chmod +x ./buildme
|
||||
./buildme "" ci
|
||||
|
||||
- name: Prepare Release Packs
|
||||
run: |
|
||||
@ -58,13 +60,13 @@ jobs:
|
||||
CLOVERX64.efi.zip
|
||||
Clover_r*.pkg
|
||||
|
||||
- name: Upload to Release
|
||||
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
|
||||
uses: ncipollo/release-action@v1
|
||||
with:
|
||||
artifacts: ./*.7z, ./Clover.app*.pkg, ./CloverV2*.zip, ./CLOVERX64.efi.zip, ./Clover_r*.pkg
|
||||
bodyFile: ReleaseNotes.md
|
||||
name: Release v5.1 r${{ env.CUR_TAG }}
|
||||
prerelease: false
|
||||
tag: ${{ env.CUR_TAG }}
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
# - name: Upload to Release
|
||||
# if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
|
||||
# uses: ncipollo/release-action@v1
|
||||
# with:
|
||||
# artifacts: ./*.7z, ./Clover.app*.pkg, ./CloverV2*.zip, ./CLOVERX64.efi.zip, ./Clover_r*.pkg
|
||||
# bodyFile: ReleaseNotes.md
|
||||
# name: Release v5.1 r${{ env.CUR_TAG }}
|
||||
# prerelease: false
|
||||
# tag: ${{ env.CUR_TAG }}
|
||||
# token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -58,4 +58,3 @@ RELEASE_*/
|
||||
|
||||
#work in progress
|
||||
*_wip
|
||||
|
||||
|
4
buildme
4
buildme
@ -369,7 +369,6 @@ if [[ ! -d $HOME/Desktop/ClovUtils ]]; then
|
||||
fi
|
||||
cd $HOME/Desktop/ClovUtils && git clone -q https://github.com/acidanthera/dmidecode dmi-decode && xcodebuild -project ./dmi-decode/dmidecode.xcodeproj -quiet
|
||||
cp -r dmi-decode/dmidecode $HOME/Desktop/ClovUtils/dmidecode && rm -Rf $HOME/Desktop/ClovUtils/dmi-decode && open $HOME/Desktop/ClovUtils
|
||||
|
||||
}
|
||||
|
||||
Get-IOReg-Devices() {
|
||||
@ -758,10 +757,11 @@ menu
|
||||
set -e
|
||||
if [[ "$2" == ci ]]; then
|
||||
buildClover
|
||||
buildCCPV
|
||||
BLC
|
||||
buildPkg
|
||||
buildIso
|
||||
buildApp
|
||||
buildCPV
|
||||
else
|
||||
menu
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user