Merge pull request #680 from stevezhengshiqi/master

Fix nasm download and github-action update
This commit is contained in:
chris1111 2024-03-24 22:17:50 -04:00 committed by GitHub
commit ff252388db
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

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

View File

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