Skip to content

Commit 4de8d5a

Browse files
authored
Create main.yml to test upgrade
1 parent cf10a1e commit 4de8d5a

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/main.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
on:
2+
push:
3+
paths:
4+
- '**/*.csproj'
5+
- '**/*.sln'
6+
workflow_dispatch:
7+
8+
jobs:
9+
upgrade-check:
10+
runs-on: windows-latest
11+
12+
steps:
13+
- name: Checkout repository
14+
uses: actions/checkout@v3
15+
16+
- name: Install .NET SDK
17+
uses: actions/setup-dotnet@v3
18+
with:
19+
dotnet-version: '8.x'
20+
21+
- name: Install .NET Upgrade Assistant
22+
run: dotnet tool install -g upgrade-assistant
23+
24+
- name: Run Upgrade Assistant in analyze mode
25+
run: |
26+
upgrade-assistant analyze BExIS%2B%2B.sln --format json > upgrade-report.json
27+
28+
- name: Upload report artifact
29+
uses: actions/upload-artifact@v3
30+
with:
31+
name: upgrade-report
32+
path: upgrade-report.json

0 commit comments

Comments
 (0)