Add PiShrink step to the workflow (#1)

* Add PiShrink step to the workflow

* Add environment variables for Raspberry Pi 64-bit builder

* Update Makefile command to include debug information

* Add source distribution target to Makefile

* Remove unnecessary provisioner command

* Add armhf architecture support

* Remove armhf architecture provisioning

* Refactor Makefile to remove unnecessary files

* Update Makefile command in publish.yml

* Update pwngrid URL in raspberrypi64.yml

* Add permissions to publish workflow

* Remove unnecessary permissions in publish.yml
This commit is contained in:
Chris Kerins
2024-02-06 12:53:45 -05:00
committed by GitHub
parent 3cc172a526
commit e1d8001fb4
3 changed files with 19 additions and 8 deletions

View File

@ -95,9 +95,13 @@ jobs:
run: make
env:
PWN_VERSION: ${{ steps.tag-setter.outputs.TAG }}
# - name: Create .img file
# run: |
# dd if=/dev/zero of=/home/runner/work/pwnagotchi-bookworm/pwnagotchi-bookworm/disk.img bs=1M count=1024
- name: PiShrink
run: |
wget https://raw.githubusercontent.com/Drewsif/PiShrink/master/pishrink.sh
chmod +x pishrink.sh
sudo mv pishrink.sh /usr/local/bin
find /home/runner/work/ -type f -name "*.img" -exec sudo pishrink.sh {} \;
- name: Compress .img files
run: |