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 50
50
run : |
51
51
for /f %%a in ('dir /b /a:d %localappdata%\Microsoft\VisualStudio\17*') do echo UsePreviews=True>%localappdata%\Microsoft\VisualStudio\%%a\sdk.txt
52
52
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
-
62
53
- name : Restore NuGet
63
54
shell : pwsh
64
55
run : |
75
66
-p:Configuration=$env:CONFIGURATION
76
67
77
68
- 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
79
70
80
71
- name : Publish package to NuGet
81
72
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