Files
Lints/.gitea/workflows/build-iso.yml
Martin Petr b9539764ed
Some checks failed
Build ISO and Upload Artifact / build-and-upload (push) Failing after 1m25s
Update .gitea/workflows/build-iso.yml
2025-11-29 22:05:20 +01:00

44 lines
1.2 KiB
YAML

name: Build ISO and Upload Artifact
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build-and-upload:
env:
RUNNER_TOOL_CACHE: /toolcache
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt update
sudo apt install -y clang lld mtools xorriso
- name: Clone edk2
run: |
git clone https://github.com/tianocore/edk2.git ./edk2
- name: Make scripts executable
run: chmod +x ./scripts/build_c.sh ./scripts/out_to_iso.sh
- name: Run build_c.sh
run: ./scripts/build_c.sh
- name: Run out_to_iso.sh
run: ./scripts/out_to_iso.sh
- name: Commit and push to Lints-release repo
run: |
git config user.name "GitHub Actions"
git config user.email "github-actions@github.com"
git remote add target_repo https://${{ secrets.DEPLOYMENT_TOKEN }}@git.martinpetr.dev/marti/Lints-release.git
git add -f out/lints.iso
git commit -m "Automated commit from build workflow" || echo "No changes to commit"
git push target_repo main