diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c991d063..5a423acb 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -47,11 +47,14 @@ jobs: - name: Transfer 64bit.img to docker and give permissions run: sudo chown runner:docker "pwnagotchi-64bit.img" - - name: Compress 32bit.img file to an .img.xz - run: ls -la .; pwd; xz -z "pwnagotchi-32bit.img" + - name: download pishrink + run: wget https://raw.githubusercontent.com/Drewsif/PiShrink/master/pishrink.sh - - name: Compress 64bit.img file to an .img.xz - run: ls -la .; pwd; xz -z "pwnagotchi-64bit.img" + - name: compress 32bit.img file using pishrink + 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 run: mv "pwnagotchi-32bit.img.xz" "pwnagotchi-$VERSION-32bit.img.xz" @@ -63,7 +66,6 @@ jobs: uses: softprops/action-gh-release@v1 with: prerelease: false - generate_release_notes: true tag_name: v${{ env.VERSION }} name: Pwnagotchi v${{ env.VERSION }} files: |