Skip to content

Commit 67db1ce

Browse files
authored
Update format-xaml.yml
1 parent 2784021 commit 67db1ce

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/format-xaml.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,8 @@ on:
66
jobs:
77
format-xaml:
88
if: github.event.issue.pull_request && github.event.comment.body == '/format'
9-
runs-on: ubuntu-latest
9+
runs-on: windows-latest
1010
environment: Pull Requests
11-
defaults:
12-
run:
13-
shell: pwsh
1411
permissions:
1512
contents: write
1613

@@ -48,8 +45,6 @@ jobs:
4845

4946
- name: Setup .NET 8
5047
uses: actions/setup-dotnet@v4
51-
with:
52-
global-json-file: global.json
5348

5449
- name: Set git identity
5550
if: env.CAN_RUN == 1
@@ -79,7 +74,7 @@ jobs:
7974
"CAN_RUN=0" | Out-File -FilePath $env:GITHUB_ENV -Append
8075
}
8176
82-
- name: Install Xaml Styler
77+
- name: Install XamlStyler.Console
8378
if: env.CAN_RUN == 1
8479
run: dotnet tool install --global XamlStyler.Console
8580

0 commit comments

Comments
 (0)