File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -75,10 +75,11 @@ jobs:
7575 env :
7676 TOKEN : ${{ secrets.GITHUB_TOKEN }}
7777 run : |
78- echo "Deploying [SharpNinja.Extensions.WindowsAppSdkHost.${env:NuGetVersionV2}.symbols.nupkg] from [$env:ARTIFACT_FOLDER]"
78+ $NugetVersionV2=& dotnet-gitversion . /showvariable NuGetVersionV2
79+ echo "Deploying [SharpNinja.Extensions.WindowsAppSdkHost.${NuGetVersionV2}.symbols.nupkg] from [$env:ARTIFACT_FOLDER]"
7980 $githubUrl="https://nuget.pkg.github.com/OWNER/index.json"
8081 & dotnet nuget add source --username sharpninja --password $env:TOKEN --store-password-in-clear-text --name github $githubUrl
81- $nupkgs = GCI SharpNinja.Extensions.WindowsAppSdkHost.${env:VERSION }.symbols.nupkg -Path $env:ARTIFACT_FOLDER -ErrorAction Stop -Verbose
82+ $nupkgs = GCI SharpNinja.Extensions.WindowsAppSdkHost.${NuGetVersionV2 }.symbols.nupkg -Path $env:ARTIFACT_FOLDER -ErrorAction Stop -Verbose
8283 $nupkgs | foreach-object -Verbose -process { `
8384 & dotnet nuget push "$_" -k "$env:TOKEN" --source github --skip-duplicate
8485 }
You can’t perform that action at this time.
0 commit comments