Update build.yml #8
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: | | |
wget https://salsa.debian.org/installer-team/debootstrap/-/raw/master/debootstrap | |
sudo mv debootstrap /usr/local/bin | |
chmod +x /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 |