Use LZ compression when creating the SquashFS to significantly reduce the size of the compiled file. (2GB->1.6GB) #23
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-jammy | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build | |
run: | | |
cd scripts | |
sed -i -E 's/TARGET_UBUNTU_VERSION=(.*)/TARGET_UBUNTU_VERSION="jammy"/g' default_config.sh | |
./build.sh - | |
cd .. | |
- name: Archive artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ubuntu-from-scratch | |
path: | | |
scripts/ubuntu-from-scratch.iso | |
scripts/image/md5sum.txt |