From 14992fba0d6b0a198aa8a531302110e794a4d1da Mon Sep 17 00:00:00 2001 From: jared Date: Mon, 10 Jan 2022 12:58:28 +0800 Subject: [PATCH] update windows ci --- .github/workflows/windows.yml | 4 ++-- scripts/windows-publish.ps1 | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 4936b15..af5bd50 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -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 diff --git a/scripts/windows-publish.ps1 b/scripts/windows-publish.ps1 index f485bcb..0ed43db 100644 --- a/scripts/windows-publish.ps1 +++ b/scripts/windows-publish.ps1 @@ -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)) {