@@ -146,10 +146,10 @@ jobs:
146146 cp -r AzurLaneAutoScript AzurLaneAutoScript.app/Contents/
147147 cp Info.plist AzurLaneAutoScript.app/Contents/
148148 rdfind -minsize 128 -makehardlinks true AzurLaneAutoScript.app
149- tar --use-compress-program='xz -4' -cf " AzurLaneAutoScript-${{ runner.os }}-$(uname -m).tar.xz" AzurLaneAutoScript.app
149+ uv run python -c "import tarfile; tarfile.open(' AzurLaneAutoScript-${{ runner.os }}-$(uname -m).tar.xz', 'x:xz', preset=4).add(' AzurLaneAutoScript.app')"
150150
151151 cp deploy.unix-cn.yaml AzurLaneAutoScript.app/Contents/AzurLaneAutoScript/config/deploy.yaml
152- tar --use-compress-program='xz -4' -cf " AzurLaneAutoScript-CN-${{ runner.os }}-$(uname -m).tar.xz" AzurLaneAutoScript.app
152+ uv run python -c "import tarfile; tarfile.open(' AzurLaneAutoScript-CN-${{ runner.os }}-$(uname -m).tar.xz', 'x:xz', preset=4).add(' AzurLaneAutoScript.app')"
153153 linux : |
154154 cd AzurLaneAutoScript
155155
@@ -170,10 +170,10 @@ jobs:
170170
171171 cd ${{ github.workspace }}
172172 rdfind -minsize 128 -makehardlinks true AzurLaneAutoScript
173- tar --use-compress-program='xz -4' -cf " AzurLaneAutoScript-${{ runner.os }}-$(uname -m).tar.xz" AzurLaneAutoScript
173+ uv run python -c "import tarfile; tarfile.open(' AzurLaneAutoScript-${{ runner.os }}-$(uname -m).tar.xz', 'x:xz', preset=4).add(' AzurLaneAutoScript')"
174174
175175 cp deploy.unix-cn.yaml AzurLaneAutoScript/config/deploy.yaml
176- tar --use-compress-program='xz -4' -cf " AzurLaneAutoScript-CN-${{ runner.os }}-$(uname -m).tar.xz" AzurLaneAutoScript
176+ uv run python -c "import tarfile; tarfile.open(' AzurLaneAutoScript-CN-${{ runner.os }}-$(uname -m).tar.xz', 'x:xz', preset=4).add(' AzurLaneAutoScript')"
177177 windows : |
178178 cd AzurLaneAutoScript
179179
@@ -193,10 +193,10 @@ jobs:
193193 cp ..\target\release\alas-launcher.exe alas-launcher.exe
194194
195195 cd ${{ github.workspace }}
196- tar -cf - AzurLaneAutoScript | zstd -9 --long -o " AzurLaneAutoScript-${{ runner.os }}-$($env:PROCESSOR_ARCHITECTURE.ToLower()).tar.zst "
196+ uv run python -c "import tarfile; tarfile.open(' AzurLaneAutoScript-${{ runner.os }}-$($env:PROCESSOR_ARCHITECTURE.ToLower()).tar.xz', 'x:xz', preset=4).add('AzurLaneAutoScript') "
197197
198198 cp deploy.windows-cn.yaml AzurLaneAutoScript\config\deploy.yaml
199- tar -cf - AzurLaneAutoScript | zstd -9 --long -o " AzurLaneAutoScript-CN-${{ runner.os }}-$($env:PROCESSOR_ARCHITECTURE.ToLower()).tar.zst "
199+ uv run python -c "import tarfile; tarfile.open(' AzurLaneAutoScript-CN-${{ runner.os }}-$($env:PROCESSOR_ARCHITECTURE.ToLower()).tar.xz', 'x:xz', preset=4).add('AzurLaneAutoScript') "
200200 - name : Upload artifacts
201201 uses : actions/upload-artifact@v4
202202 with :
0 commit comments