Skip to content

Commit 5f9af3e

Browse files
committed
f
1 parent 8be0da6 commit 5f9af3e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/packages.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)