File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change 5050 run : |
5151 for /f %%a in ('dir /b /a:d %localappdata%\Microsoft\VisualStudio\17*') do echo UsePreviews=True>%localappdata%\Microsoft\VisualStudio\%%a\sdk.txt
5252
53- - name : Extract Version from CurrentVersion.props
54- id : extract_version
55- shell : pwsh
56- run : |
57- $xml = [xml](Get-Content $env:PROJECT_DIR\CurrentVersion.props)
58- $version = $xml.Project.PropertyGroup.Version
59- Write-Output "Found publish version, $version"
60- echo "::set-output name=version::$version"
61-
6253 - name : Restore NuGet
6354 shell : pwsh
6455 run : |
7566 -p:Configuration=$env:CONFIGURATION
7667
7768 - name : Package Files UI Controls
78- run : dotnet pack ${{ env.PACKAGE_PROJECT_PATH }} --configuration ${{ env.CONFIGURATION }} --no-build -o ./output -p:Version=${{ steps.extract_version.outputs.version }}
69+ run : dotnet pack ${{ env.PACKAGE_PROJECT_PATH }} --configuration ${{ env.CONFIGURATION }} --no-build -o ./output
7970
8071 - name : Publish package to NuGet
8172 run : dotnet nuget push ./output/*.nupkg --api-key (SECRET GOES HERE) --source https://api.nuget.org/v3/index.json
You can’t perform that action at this time.
0 commit comments