fix build script and no need to upload nupkg and release as artifact

This commit is contained in:
Hongtao Zhang 2024-03-27 01:09:05 -05:00
parent d013135531
commit 742604cb97
2 changed files with 18 additions and 17 deletions

View file

@ -92,19 +92,19 @@ jobs:
path: |
Releases\FlowLauncher-*-Portable.zip
compression-level: 0
- name: Upload Full Nupkg
uses: actions/upload-artifact@v4
with:
name: Full nupkg
path: |
Releases\FlowLauncher-*-full.nupkg
compression-level: 0
- name: Upload Release Information
uses: actions/upload-artifact@v4
with:
name: RELEASES
path: |
Releases\RELEASES*
compression-level: 0
# - name: Upload Full Nupkg
# uses: actions/upload-artifact@v4
# with:
# name: Full nupkg
# path: |
# Releases\FlowLauncher-*-full.nupkg
#
# compression-level: 0
# - name: Upload Release Information
# uses: actions/upload-artifact@v4
# with:
# name: RELEASES
# path: |
# Releases\RELEASES*
# compression-level: 0
#

View file

@ -6,6 +6,7 @@ param(
)
Write-Host "Config: $config"
Write-Host "Solution: $solution"
Write-Host "Flow Version: $flowVersion"
Write-Host "Channel: $channel"
function Build-Version
@ -17,7 +18,7 @@ function Build-Version
}
else
{
$v = $env:flowVersion
$v = $flowVersion
}
Write-Host "Build Version: $v"