1
0
mirror of https://github.com/jaredtao/TaoQuick.git synced 2025-01-17 20:12:54 +08:00

update windows ci

This commit is contained in:
jared 2022-01-10 12:58:28 +08:00
parent a1e787cde6
commit 14992fba0d
2 changed files with 3 additions and 3 deletions

View File

@ -116,7 +116,7 @@ jobs:
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ${{ steps.package.outputs.packageName }}.zip
asset_name: ${{ steps.package.outputs.packageName }}.zip
file: ${{ steps.package.outputs.packageName }}
asset_name: ${{ steps.package.outputs.packageName }}
tag: ${{ github.ref }}
overwrite: true

View File

@ -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) -or ($null -eq $targetName)) {