File tree Expand file tree Collapse file tree 1 file changed +5
-13
lines changed
Expand file tree Collapse file tree 1 file changed +5
-13
lines changed Original file line number Diff line number Diff line change 3939 run : |
4040 dotnet tool install gitversion.tool -g
4141 dotnet-gitversion
42- - id : version
43- run : echo "::set-output name=VERSION::${env:NuGetVersionV2}"
44- - id : prepare_output_VERSION
45- run : |
46- echo "`$env:V - $env:V"
47- echo "`$env:VER - $env:VER"
48- echo "`$env:VER_NEEDS - $env:VER_NEEDS"
49- env :
50- V : ${{ VERSION }}
51- VER : ${{ steps.version.VERSION }}
52- VER_NEEDS : ${{ needs.prepare.output.version.VERSION }}
53- - run : throw "stop"
5442 - name : Restore dependencies
5543 run : msbuild /t:restore
5644
7159 ARTIFACT_FOLDER : " ${{ github.workspace }}/nuget"
7260 VERSION : " ${{ needs.prepare.output.VERSION }}"
7361 steps :
62+ - name : Setup GitVersion
63+ run : |
64+ dotnet tool install gitversion.tool -g
65+ dotnet-gitversion
7466 - name : Download a Build Artifact
75677668 with :
8173 env :
8274 TOKEN : ${{ secrets.GITHUB_TOKEN }}
8375 run : |
84- echo "Deploying [SharpNinja.Extensions.WindowsAppSdkHost.${env:VERSION }.symbols.nupkg] from [$env:ARTIFACT_FOLDER]"
76+ echo "Deploying [SharpNinja.Extensions.WindowsAppSdkHost.${env:NuGetVersionV2 }.symbols.nupkg] from [$env:ARTIFACT_FOLDER]"
8577 $githubUrl="https://nuget.pkg.github.com/OWNER/index.json"
8678 & dotnet nuget add source --username sharpninja --password $env:TOKEN --store-password-in-clear-text --name github $githubUrl
8779 $nupkgs = GCI SharpNinja.Extensions.WindowsAppSdkHost.${env:VERSION}.symbols.nupkg -Path $env:ARTIFACT_FOLDER -ErrorAction Stop -Verbose
You can’t perform that action at this time.
0 commit comments