mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
Update workflow
This commit is contained in:
12
.github/workflows/publish.yml
vendored
12
.github/workflows/publish.yml
vendored
@ -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: |
|
||||||
|
Reference in New Issue
Block a user