From 6cfaf7d250cbea8714d1584aa1cf9ea0ca88fdc4 Mon Sep 17 00:00:00 2001 From: oxmc7769 Date: Tue, 26 May 2026 03:05:32 -0700 Subject: [PATCH] update build scripts, update github workflow (same as upstream) --- .github/workflows/build.yml | 4 +- build-mac.sh | 68 +++++++++++++++-------------- build.sh | 87 ++++++++++++++++++++++++++----------- 3 files changed, 99 insertions(+), 60 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1589c0877..cf197b17d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -536,9 +536,9 @@ jobs: - name: Get token id: token - uses: actions/create-github-app-token@v2 + uses: actions/create-github-app-token@v3 with: - app-id: ${{ vars.WORKFLOW_DISPATCHER_ID }} + client-id: ${{ vars.WORKFLOW_DISPATCHER_ID }} private-key: ${{ secrets.WORKFLOW_DISPATCHER_KEY }} owner: ${{ vars.PAGES_REPO_OWNER }} repositories: ${{ vars.PAGES_REPO_NAME }} diff --git a/build-mac.sh b/build-mac.sh index 99e52efbd..b7dca9ef7 100755 --- a/build-mac.sh +++ b/build-mac.sh @@ -2,78 +2,80 @@ # ============================================================================= # Mac-specific iPXE build shortcut # -# Builds both the native tg3 EFI binary and an SNP fallback, with the -# boot.ipxe script embedded in each. Outputs to ./build/. +# Builds the native tg3 EFI binary and an SNP fallback, packages each into +# a bootable FAT32 .img with autoexec.ipxe alongside the EFI binary. # # Usage: -# ./build-mac.sh [--embed