@@ -154,15 +154,15 @@ jobs:
154154 cp Info.plist AzurLaneAutoScript.app/Contents/
155155 rdfind -minsize 128 -makehardlinks true AzurLaneAutoScript.app
156156 uv run python - <<EOF
157- import tarfile
158- with tarfile.open('AzurLaneAutoScript-${{ runner.os }}-$(uname -m).tar.xz', 'x:xz', preset=4 ) as t:
157+ import tarfile, lzma
158+ with tarfile.open('AzurLaneAutoScript-${{ runner.os }}-$(uname -m).tar.xz', 'x:xz', preset=9|lzma.PRESET_EXTREME ) as t:
159159 t.add('AzurLaneAutoScript.app')
160160 EOF
161161
162162 cp deploy.unix-cn.yaml AzurLaneAutoScript.app/Contents/AzurLaneAutoScript/config/deploy.yaml
163163 uv run python - <<EOF
164- import tarfile
165- with tarfile.open('AzurLaneAutoScript-CN-${{ runner.os }}-$(uname -m).tar.xz', 'x:xz', preset=4 ) as t:
164+ import tarfile, lzma
165+ with tarfile.open('AzurLaneAutoScript-CN-${{ runner.os }}-$(uname -m).tar.xz', 'x:xz', preset=9|lzma.PRESET_EXTREME ) as t:
166166 t.add('AzurLaneAutoScript.app')
167167 EOF
168168 linux : |
@@ -188,15 +188,15 @@ jobs:
188188 cd ${{ github.workspace }}
189189 rdfind -minsize 128 -makehardlinks true AzurLaneAutoScript
190190 uv run python - <<EOF
191- import tarfile
192- with tarfile.open('AzurLaneAutoScript-${{ runner.os }}-$(uname -m).tar.xz', 'x:xz', preset=4 ) as t:
191+ import tarfile, lzma
192+ with tarfile.open('AzurLaneAutoScript-${{ runner.os }}-$(uname -m).tar.xz', 'x:xz', preset=9|lzma.PRESET_EXTREME ) as t:
193193 t.add('AzurLaneAutoScript')
194194 EOF
195195
196196 cp deploy.unix-cn.yaml AzurLaneAutoScript/config/deploy.yaml
197197 uv run python - <<EOF
198- import tarfile
199- with tarfile.open('AzurLaneAutoScript-CN-${{ runner.os }}-$(uname -m).tar.xz', 'x:xz', preset=4 ) as t:
198+ import tarfile, lzma
199+ with tarfile.open('AzurLaneAutoScript-CN-${{ runner.os }}-$(uname -m).tar.xz', 'x:xz', preset=9|lzma.PRESET_EXTREME ) as t:
200200 t.add('AzurLaneAutoScript')
201201 EOF
202202 windows : |
@@ -223,15 +223,15 @@ jobs:
223223
224224 cd ${{ github.workspace }}
225225 uv run python -c @"
226- import tarfile
227- with tarfile.open('AzurLaneAutoScript-${{ runner.os }}-$($env:PROCESSOR_ARCHITECTURE.ToLower()).tar.xz', 'x:xz', preset=4 ) as t:
226+ import tarfile, lzma
227+ with tarfile.open('AzurLaneAutoScript-${{ runner.os }}-$($env:PROCESSOR_ARCHITECTURE.ToLower()).tar.xz', 'x:xz', preset=9|lzma.PRESET_EXTREME ) as t:
228228 t.add('AzurLaneAutoScript')
229229 "@
230230
231231 cp deploy.windows-cn.yaml AzurLaneAutoScript\config\deploy.yaml
232232 uv run python -c @"
233- import tarfile
234- with tarfile.open('AzurLaneAutoScript-CN-${{ runner.os }}-$($env:PROCESSOR_ARCHITECTURE.ToLower()).tar.xz', 'x:xz', preset=4 ) as t:
233+ import tarfile, lzma
234+ with tarfile.open('AzurLaneAutoScript-CN-${{ runner.os }}-$($env:PROCESSOR_ARCHITECTURE.ToLower()).tar.xz', 'x:xz', preset=9|lzma.PRESET_EXTREME ) as t:
235235 t.add('AzurLaneAutoScript')
236236 "@
237237 - name : Upload artifacts
0 commit comments