mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
Update workflow
This commit is contained in:
14
.github/workflows/publish.yml
vendored
14
.github/workflows/publish.yml
vendored
@ -47,14 +47,12 @@ jobs:
|
|||||||
- name: Transfer 64bit.img to docker and give permissions
|
- name: Transfer 64bit.img to docker and give permissions
|
||||||
run: sudo chown runner:docker "pwnagotchi-64bit.img"
|
run: sudo chown runner:docker "pwnagotchi-64bit.img"
|
||||||
|
|
||||||
- name: download pishrink
|
- name: PiShrink
|
||||||
run: wget https://raw.githubusercontent.com/Drewsif/PiShrink/master/pishrink.sh
|
run: |
|
||||||
|
wget https://raw.githubusercontent.com/Drewsif/PiShrink/master/pishrink.sh
|
||||||
- name: compress 32bit.img file using pishrink
|
chmod +x pishrink.sh
|
||||||
run: sudo chmod +x "pishrink.sh"; sudo "pishrink.sh" -aZ "pwnagotchi-32bit.img"
|
sudo mv pishrink.sh /usr/local/bin
|
||||||
|
find /home/runner/work/ -type f -name "*.img" -exec sudo pishrink.sh -aZ {} \;
|
||||||
- name: Compress 64bit.img file using pishrink
|
|
||||||
run: sudo pishrink.sh -aZ "pwnagotchi-64bit.img"
|
|
||||||
|
|
||||||
- name: Change name of 32.img.xz to add version
|
- name: Change name of 32.img.xz to add version
|
||||||
run: mv "pwnagotchi-32bit.img.xz" "pwnagotchi-$VERSION-32bit.img.xz"
|
run: mv "pwnagotchi-32bit.img.xz" "pwnagotchi-$VERSION-32bit.img.xz"
|
||||||
|
Reference in New Issue
Block a user