From 05bf1ae81050a62e4cdb24283a8fe74a12e139b2 Mon Sep 17 00:00:00 2001 From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com> Date: Fri, 17 Nov 2023 18:39:46 +0530 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ef1ac09..e938688 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -81,7 +81,7 @@ jobs: $sourceFolder = Join-Path $env:GITHUB_WORKSPACE "out" | Join-Path -ChildPath "net*" $outFolder = Join-Path $env:GITHUB_WORKSPACE "out" | Join-Path -ChildPath "sourcegrid" New-Item -ItemType Directory -Force -Path $outFolder - $fileName = "sourcegrid- $($env:GitVersion_MajorMinor).zip" + $fileName = "sourcegrid-($env:GitVersion_MajorMinor).zip" Write-Host "Filename: '$fileName'" Write-Host "sourceFolder: '$sourceFolder'" Write-Host "Outfolder: '$outFolder'" @@ -102,8 +102,8 @@ jobs: - name: Create Nuget Packages id: createNupkg run: | - nuget pack .nuget\SourceGrid.nuspec -Version $($env:GitVersion_MajorMinor) - Write-Host "::set-output name=nupkg-sourcegrid::sourcegrid.$($env:GitVersion_MajorMinor).nupkg" + nuget pack .nuget\SourceGrid.nuspec -Version ($env:GitVersion_MajorMinor) + Write-Host "::set-output name=nupkg-sourcegrid::sourcegrid.($env:GitVersion_MajorMinor).nupkg" - name: Archive NuGet Packages uses: actions/upload-artifact@v2