Update workflow

This commit is contained in:
jayofelony
2024-02-26 10:48:21 +01:00
parent 35f1707436
commit 7ebd4dd7a0

View File

@ -47,11 +47,14 @@ 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: Compress 32bit.img file to an .img.xz - name: download pishrink
run: ls -la .; pwd; xz -z "pwnagotchi-32bit.img" run: wget https://raw.githubusercontent.com/Drewsif/PiShrink/master/pishrink.sh
- name: Compress 64bit.img file to an .img.xz - name: compress 32bit.img file using pishrink
run: ls -la .; pwd; xz -z "pwnagotchi-64bit.img" run: sudo chmod +x "pishrink.sh"; sudo pishrink.sh -aZ "pwnagotchi-32bit.img"
- 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"
@ -63,7 +66,6 @@ jobs:
uses: softprops/action-gh-release@v1 uses: softprops/action-gh-release@v1
with: with:
prerelease: false prerelease: false
generate_release_notes: true
tag_name: v${{ env.VERSION }} tag_name: v${{ env.VERSION }}
name: Pwnagotchi v${{ env.VERSION }} name: Pwnagotchi v${{ env.VERSION }}
files: | files: |