Increase swap before pi-gen action

This commit is contained in:
Bill Zimmerman 2025-02-09 10:54:47 +01:00 committed by GitHub
parent a04fe39050
commit 71990cec80
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -47,6 +47,14 @@ jobs:
} && } &&
chmod +x stage-raspap/prerun.sh chmod +x stage-raspap/prerun.sh
- name: Increase swap
run: |
sudo fallocate -l 4G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
free -h
- name: Build RaspAP Image - name: Build RaspAP Image
id: build id: build
uses: usimd/pi-gen-action@v1 uses: usimd/pi-gen-action@v1