Skip to content

Commit 3d77442

Browse files
committed
Build file update
1 parent 64c4b21 commit 3d77442

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/dotnet.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,33 @@ on:
1010
jobs:
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' }}

0 commit comments

Comments
 (0)