Skip to content

Commit

Permalink
Update build-v04.yml
Browse files Browse the repository at this point in the history
Add GZip Support
  • Loading branch information
Mizumo-prjkt authored Nov 27, 2024
1 parent 25146de commit 6f00dfa
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/build-v04.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ on:
description: Enter GSI Link
required: true
GSI_FILE:
description: Compressed or pure?
description: GSI File Type (No Compression means only .img)
required: true
default: xz
type: choice
Expand All @@ -55,6 +55,7 @@ on:
- 'xz'
- 'zip'
- 'tar'
- 'img.gz'
- 'No compression'
SFTP_PRIV_DEST:
description: 'Type remote sftp folder the finish product would land'
Expand Down Expand Up @@ -158,6 +159,14 @@ jobs:
cp *.img system.img
cd ..
;;
"img.gz")
mkdir cmp_img
cd cmp_img
aria2c -x 10 "$GSILINK"
gunzip *.tar
cp *.img system.img
cd ..
;;
"No compression")
mkdir cmp_img
cd cmp_img
Expand Down

0 comments on commit 6f00dfa

Please sign in to comment.