Skip to content

Commit

Permalink
Update parse-new-experience.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
fuksman authored Dec 23, 2023
1 parent 07a3a3f commit 38f3334
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/parse-new-experience.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
sudo apt-get update
sudo apt-get install -y pngquant
for file in "experiences/${{ env.experience_name }}/screenshots/*.png"; do
pngquant --f "$file" -o "$file"
pngquant -f "$file" -o "$file"
done
file_size=$(stat -c %s "experiences/${{ env.experience_name }}/${{ env.experience_name }}.zip")
jq --arg file_size $file_size '.fileSize = ($file_size|tonumber)' "experiences/${{ env.experience_name }}/manifest.json" > temp.json && mv temp.json "experiences/${{ env.experience_name }}/manifest.json"
Expand Down

0 comments on commit 38f3334

Please sign in to comment.