mirror of
https://github.com/jaredtao/TaoQuick.git
synced 2025-01-17 20:12:54 +08:00
恢复二次压缩。
去掉二次压缩后,体积从20MB变成60MB。 相对来说,体积变大的影响比解压缩两次更大。 没找到压缩等级参数,暂时先二次压缩。
This commit is contained in:
parent
5ca7673730
commit
a16452c139
6
.github/workflows/windows.yml
vendored
6
.github/workflows/windows.yml
vendored
@ -108,15 +108,15 @@ jobs:
|
||||
# 上传artifacts
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: ${{ steps.package.outputs.packageName }}.zip
|
||||
path: ${{ steps.package.outputs.packageName }}
|
||||
name: ${{ steps.package.outputs.packageName }}
|
||||
path: ${{ steps.package.outputs.packageName }}.zip
|
||||
# tag 上传Release
|
||||
- name: uploadRelease
|
||||
if: startsWith(github.event.ref, 'refs/tags/')
|
||||
uses: svenstaro/upload-release-action@v2
|
||||
with:
|
||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
file: ${{ steps.package.outputs.packageName }}/
|
||||
file: ${{ steps.package.outputs.packageName }}.zip
|
||||
asset_name: ${{ steps.package.outputs.packageName }}.zip
|
||||
tag: ${{ github.ref }}
|
||||
overwrite: true
|
||||
|
@ -42,7 +42,7 @@ function Main() {
|
||||
$sdkDll="{0}Redist\{1}ucrt\DLLs\{2}\*.dll" -f $env:winSdkDir.Trim(),$env:winSdkVer.Trim(),$env:msvcArch
|
||||
Copy-Item $sdkDll $archiveName\
|
||||
# 打包zip
|
||||
# Compress-Archive -Path $archiveName $archiveName'.zip'
|
||||
Compress-Archive -Path $archiveName $archiveName'.zip'
|
||||
}
|
||||
|
||||
if ($null -eq $archiveName || $null -eq $targetName) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user