Update build.yml #14
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: [pull_request, push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout repository | |
uses: actions/checkout@v4 | |
- name: Install debootstrap | |
run: | | |
git clone --depth=1 https://salsa.debian.org/installer-team/debootstrap/ | |
sudo chmod 0755 debootstrap/debootstrap | |
sudo ln -s debootstrap/debootstrap -t /usr/local/bin | |
- name: exec scripts/build_all.sh | |
run: sudo bash -c "cd scripts && chmod +x -R . && ./build_all.sh" | |
- name: upload build artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Artifacts | |
path: build/system.img |