-
Notifications
You must be signed in to change notification settings - Fork 1
33 lines (30 loc) · 1.24 KB
/
packsquash.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Optimize resource pack
on: [push]
jobs:
packsquash:
name: Optimize resource pack
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v4
with:
fetch-depth: 0 # A non-shallow repository clone is required
- name: Run PackSquash
uses: ComunidadAylas/PackSquash-action@v4
with:
# When changing the options passed to PackSquash, it may be a good idea to lock
# your workflow to a specific PackSquash version instead of "latest". This will
# prevent sudden failures when releases that introduce incompatible changes to
# the options file format are made, but will require you to manually update
# the PackSquash version your workflows use when a release occurs
packsquash_version: latest
options: |
pack_directory = 'core'
recompress_compressed_files = true
zip_compression_iterations = 30
zip_spec_conformance_level = 'balanced'
skip_pack_icon = false
['**/*?.png']
image_data_compression_iterations = 15
['**/{LICENSE,README.txt}']
force_include = true