File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 1010jobs :
1111 build :
1212
13- runs-on : windows-latest
13+ runs-on : windows-2025
1414
1515 steps :
16- - uses : actions/checkout@v4
16+ - uses : actions/checkout@v5
17+
1718 - uses : nuget/setup-nuget@v2
19+
1820 - name : Add msbuild to PATH
1921 uses : microsoft/setup-msbuild@v2
22+
2023 - name : Update version
2124 run : |
2225 (Get-Content -Path src\LoggerVisualizer\LoggerVisualizer.csproj) |
2326 ForEach-Object {$_ -Replace '<AssemblyVersion>0.1.0</AssemblyVersion>', '<AssemblyVersion>0.2.${{ github.run_number }}</AssemblyVersion>'} |
2427 Set-Content -Path src\LoggerVisualizer\LoggerVisualizer.csproj
28+
2529 - name : Restore
2630 run : nuget restore
31+
2732 - name : Build
2833 run : msbuild /p:configuration=Release /p:DeployExtension=false /p:ZipPackageCompressionLevel=normal /v:m
34+
2935 - uses : actions/upload-artifact@v4
3036 with :
3137 name : LoggerVisualizer.vsix
3238 path : src\LoggerVisualizer\bin\Release\net8.0-windows\LoggerVisualizer.vsix
39+
3340 - name : Create Release
3441 id : create_release
3542 if : ${{ github.event_name == 'push' }}
You can’t perform that action at this time.
0 commit comments