Improve "Install WUP" option #96
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: [push, pull_request] | |
jobs: | |
build-binary: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Build recovery | |
run: | | |
# build docker container | |
docker build -t recoverybuilder . | |
# build recovery_menu with display controller initialization | |
docker run --rm -v ${PWD}:/project recoverybuilder make DC_INIT=1 | |
mv recovery_menu recovery_menu_dc_init | |
# build default recovery menu | |
docker run --rm -v ${PWD}:/project recoverybuilder make clean | |
docker run --rm -v ${PWD}:/project recoverybuilder make | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: recovery_menu | |
path: | | |
recovery_menu | |
recovery_menu_dc_init |