[ci] Publish rolling release binaries via https://boot.ipxe.org

The boot.ipxe.org website is now hosted on GitHub Pages and built via
a GitHub Actions workflow.  The rolling release binaries are fetched
from the build artifacts created by this repository.

Remove the rolling release tag mechanism, and instead trigger a
workflow run on the boot.ipxe.org repository to publish the updated
binaries.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2026-01-30 16:55:24 +00:00
parent 74e0551ac2
commit b05a045b41

View File

@@ -8,7 +8,7 @@ env:
jobs: jobs:
bios: bios:
name: BIOS name: BIOS / ${{ matrix.arch }}
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
fail-fast: false fail-fast: false
@@ -49,7 +49,7 @@ jobs:
src/${{ env.bindir }}/undionly.kpxe src/${{ env.bindir }}/undionly.kpxe
sbi: sbi:
name: SBI name: SBI / ${{ matrix.arch }}
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
fail-fast: false fail-fast: false
@@ -83,7 +83,7 @@ jobs:
src/${{ env.bindir }}/ipxe.sbi src/${{ env.bindir }}/ipxe.sbi
uefi: uefi:
name: UEFI name: UEFI / ${{ matrix.arch }}
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
fail-fast: false fail-fast: false
@@ -123,7 +123,7 @@ jobs:
src/${{ env.bindir }}/snponly.efi src/${{ env.bindir }}/snponly.efi
tests: tests:
name: Tests (${{ matrix.arch }}) name: Tests / ${{ matrix.arch }}
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
fail-fast: false fail-fast: false
@@ -215,64 +215,30 @@ jobs:
publish: publish:
name: Publish name: Publish
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: >-
github.event_name == 'push' &&
github.ref == 'refs/heads/master' &&
vars.ROLLING_PREFIX
needs: needs:
- bios - bios
- sbi - sbi
- uefi - uefi
- tests - tests
- combine - combine
strategy: if: >-
fail-fast: false github.event_name == 'push' &&
matrix: github.ref == 'refs/heads/master' &&
bindir: vars.PAGES_REPO_NAME
- bin
- bin-arm32-efi
- bin-arm64-efi
- bin-combi
- bin-i386-efi
- bin-loong64-efi
- bin-riscv32
- bin-riscv32-efi
- bin-riscv64
- bin-riscv64-efi
- bin-x86_64-efi
- bin-x86_64-pcbios
env:
tag: ${{ vars.ROLLING_PREFIX }}/${{ matrix.bindir }}
steps: steps:
- name: Check out code - name: Get token
uses: actions/checkout@v6 id: token
uses: actions/create-github-app-token@v2
- name: Rolling tag
run: |
git tag -f ${{ env.tag }} ${{ github.sha }}
- name: Download
uses: actions/download-artifact@v7
with: with:
path: ${{ matrix.bindir }} app-id: ${{ vars.WORKFLOW_DISPATCHER_ID }}
name: ${{ matrix.bindir }} private-key: ${{ secrets.WORKFLOW_DISPATCHER_KEY }}
owner: ${{ vars.PAGES_REPO_OWNER }}
repositories: ${{ vars.PAGES_REPO_NAME }}
- name: List artifacts - name: Dispatch
run: |
find ${{ matrix.bindir }} -type f
- name: Update release
env: env:
GH_TOKEN: ${{ github.token }} GH_REPO: ${{ vars.PAGES_REPO_OWNER }}/${{ vars.PAGES_REPO_NAME }}
GH_TOKEN: ${{ steps.token.outputs.token }}
run: | run: |
git push -f origin ${{ env.tag }} gh workflow run build.yml -f run_id=${{ github.run_id }}
gh release view ${{ env.tag }} >/dev/null 2>&1 || \
gh release create ${{ env.tag }} --prerelease
gh release edit ${{ env.tag }} \
--prerelease \
--tag ${{ env.tag }} \
--target ${{ github.sha }} \
--title ${{ env.tag }} \
--notes "Rolling release of ${{ matrix.bindir }} directory"
gh release upload ${{ env.tag }} --clobber ${{ matrix.bindir }}/*