From 742604cb97116b75793a7207efc05eab6517b866 Mon Sep 17 00:00:00 2001 From: Hongtao Zhang Date: Wed, 27 Mar 2024 01:09:05 -0500 Subject: [PATCH] fix build script and no need to upload nupkg and release as artifact --- .github/workflows/dotnet.yml | 32 ++++++++++++++++---------------- Scripts/post_build.ps1 | 3 ++- 2 files changed, 18 insertions(+), 17 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 0d0f069ed..b481500c3 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -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 +# diff --git a/Scripts/post_build.ps1 b/Scripts/post_build.ps1 index aa3b73daa..2633c24c5 100644 --- a/Scripts/post_build.ps1 +++ b/Scripts/post_build.ps1 @@ -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"