mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2025-01-21 20:51:31 +01:00
Merge pull request #680 from stevezhengshiqi/master
Fix nasm download and github-action update
This commit is contained in:
commit
ff252388db
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
@ -10,7 +10,7 @@ jobs:
|
||||
name: Build Clover Release
|
||||
runs-on: macos-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Manage Version
|
||||
run: |
|
||||
@ -35,7 +35,7 @@ jobs:
|
||||
releaseItems=(CloverPackage/sym/CloverISO*/*.7z 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
|
||||
- name: Upload to Artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: Clover beta-${{ env.GIT_SHA }}
|
||||
path: |
|
||||
|
@ -94,7 +94,7 @@ fnDownloadNasm ()
|
||||
local tarball="nasm-${NASM_VERSION}.tar.xz"
|
||||
if [[ ! -f "$tarball" ]]; then
|
||||
echo "Status: $tarball not found."
|
||||
curl -f -o download.tmp --remote-name -k https://ftp.osuosl.org/pub/blfs/conglomeration/nasm/$tarball || exit 1
|
||||
curl -k -f -o download.tmp --remote-name https://ftp2.osuosl.org/pub/blfs/conglomeration/nasm/$tarball || exit 1
|
||||
mv download.tmp $tarball
|
||||
fi
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user