Merge pull request #399 from stevezhengshiqi/master

CI: Adapt new buildme and Remove Upload to Release stage
This commit is contained in:
jief666 2021-05-24 12:11:00 +03:00 committed by GitHub
commit 8b2af7e287
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 114 additions and 113 deletions

View File

@ -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
View File

@ -58,4 +58,3 @@ RELEASE_*/
#work in progress
*_wip

View File

@ -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