Skip to content

Commit a6011d8

Browse files
Update XAML Styler Version (.NET 6 compatible)
Upgrade GitHub Actions Versions Update to use latest revision of .NET 6 SDK
1 parent b35b8fb commit a6011d8

File tree

2 files changed

+17
-18
lines changed

2 files changed

+17
-18
lines changed

.config/dotnet-tools.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
]
1010
},
1111
"xamlstyler.console": {
12-
"version": "3.2008.4",
12+
"version": "3.2206.4",
1313
"commands": [
1414
"xstyler"
1515
]

.github/workflows/build.yml

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,14 @@ jobs:
2424

2525
# Steps represent a sequence of tasks that will be executed as part of the job
2626
steps:
27-
# Needed until XAML Styler updates to .NET 6
28-
- name: Install .NET Core 3.1 SDK
29-
uses: actions/setup-dotnet@v1
27+
- name: Install .NET 6 SDK
28+
uses: actions/setup-dotnet@v3
3029
with:
31-
dotnet-version: '3.1.x'
30+
dotnet-version: '6.0.x'
3231

3332
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
3433
- name: Checkout Repository
35-
uses: actions/checkout@v2
34+
uses: actions/checkout@v3
3635

3736
# Restore Tools from Manifest list in the Repository
3837
- name: Restore dotnet tools
@@ -49,13 +48,13 @@ jobs:
4948
# Steps represent a sequence of tasks that will be executed as part of the job
5049
steps:
5150
- name: Install .NET 6 SDK
52-
uses: actions/setup-dotnet@v1
51+
uses: actions/setup-dotnet@v3
5352
with:
54-
dotnet-version: '6.0.202'
53+
dotnet-version: '6.0.x'
5554

5655
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
5756
- name: Checkout Repository
58-
uses: actions/checkout@v2
57+
uses: actions/checkout@v3
5958

6059
# Restore Tools from Manifest list in the Repository
6160
- name: Restore dotnet tools
@@ -123,13 +122,13 @@ jobs:
123122
# Steps represent a sequence of tasks that will be executed as part of the job
124123
steps:
125124
- name: Install .NET 6 SDK
126-
uses: actions/setup-dotnet@v1
125+
uses: actions/setup-dotnet@v3
127126
with:
128-
dotnet-version: '6.0.202'
127+
dotnet-version: '6.0.x'
129128

130129
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
131130
- name: Checkout Repository
132-
uses: actions/checkout@v2
131+
uses: actions/checkout@v3
133132

134133
# Restore Tools from Manifest list in the Repository
135134
- name: Restore dotnet tools
@@ -200,13 +199,13 @@ jobs:
200199

201200
steps:
202201
- name: Install .NET 6 SDK
203-
uses: actions/setup-dotnet@v1
202+
uses: actions/setup-dotnet@v3
204203
with:
205-
dotnet-version: '6.0.202'
204+
dotnet-version: '6.0.x'
206205

207206
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
208207
- name: Checkout Repository
209-
uses: actions/checkout@v2
208+
uses: actions/checkout@v3
210209

211210
- name: Add msbuild to PATH
212211
uses: microsoft/[email protected]
@@ -255,13 +254,13 @@ jobs:
255254

256255
steps:
257256
- name: Install .NET 6 SDK
258-
uses: actions/setup-dotnet@v1
257+
uses: actions/setup-dotnet@v3
259258
with:
260-
dotnet-version: '6.0.201'
259+
dotnet-version: '6.0.x'
261260

262261
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
263262
- name: Checkout Repository
264-
uses: actions/checkout@v2
263+
uses: actions/checkout@v3
265264

266265
- name: Generate solution
267266
shell: pwsh

0 commit comments

Comments
 (0)