mirror of
https://github.com/jaredtao/TaoQuick.git
synced 2025-01-29 21:12:55 +08:00
update ci
This commit is contained in:
parent
14992fba0d
commit
1e713df994
6
.github/workflows/windows.yml
vendored
6
.github/workflows/windows.yml
vendored
@ -109,14 +109,14 @@ jobs:
|
|||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: ${{ steps.package.outputs.packageName }}
|
name: ${{ steps.package.outputs.packageName }}
|
||||||
path: ${{ steps.package.outputs.packageName }}.zip
|
path: ${{ steps.package.outputs.packageName }}
|
||||||
# tag 上传Release
|
# tag 上传Release
|
||||||
- name: uploadRelease
|
- name: uploadRelease
|
||||||
if: startsWith(github.event.ref, 'refs/tags/')
|
if: startsWith(github.event.ref, 'refs/tags/')
|
||||||
uses: svenstaro/upload-release-action@v2
|
uses: svenstaro/upload-release-action@v2
|
||||||
with:
|
with:
|
||||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
file: ${{ steps.package.outputs.packageName }}
|
file: ${{ steps.package.outputs.packageName }}.zip
|
||||||
asset_name: ${{ steps.package.outputs.packageName }}
|
asset_name: ${{ steps.package.outputs.packageName }}.zip
|
||||||
tag: ${{ github.ref }}
|
tag: ${{ github.ref }}
|
||||||
overwrite: true
|
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
|
$sdkDll="{0}Redist\{1}ucrt\DLLs\{2}\*.dll" -f $env:winSdkDir.Trim(),$env:winSdkVer.Trim(),$env:msvcArch
|
||||||
Copy-Item $sdkDll $archiveName\
|
Copy-Item $sdkDll $archiveName\
|
||||||
# 打包zip
|
# 打包zip
|
||||||
# Compress-Archive -Path $archiveName $archiveName'.zip'
|
Compress-Archive -Path $archiveName $archiveName'.zip'
|
||||||
}
|
}
|
||||||
|
|
||||||
if (($null -eq $archiveName) -or ($null -eq $targetName)) {
|
if (($null -eq $archiveName) -or ($null -eq $targetName)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user