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
|
||||
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: |
|
||||
|
Reference in New Issue
Block a user