File tree Expand file tree Collapse file tree 2 files changed +4
-14
lines changed Expand file tree Collapse file tree 2 files changed +4
-14
lines changed Original file line number Diff line number Diff line change 49
49
50
50
if : github.repository_owner == 'files-community'
51
51
52
- runs-on : ubuntu-latest
53
- defaults :
54
- run :
55
- shell : pwsh
52
+ runs-on : windows-latest
56
53
57
54
steps :
58
55
62
59
fetch-depth : 2
63
60
- name : Setup .NET 8
64
61
uses : actions/setup-dotnet@v4
65
- with :
66
- global-json-file : global.json
67
62
68
- - name : Install XamlStyler console
63
+ - name : Install XamlStyler.Console
69
64
run : ' dotnet tool install --global XamlStyler.Console'
70
65
71
66
- name : Check XAML formatting
Original file line number Diff line number Diff line change 6
6
jobs :
7
7
format-xaml :
8
8
if : github.event.issue.pull_request && github.event.comment.body == '/format'
9
- runs-on : ubuntu -latest
9
+ runs-on : windows -latest
10
10
environment : Pull Requests
11
- defaults :
12
- run :
13
- shell : pwsh
14
11
permissions :
15
12
contents : write
16
13
48
45
49
46
- name : Setup .NET 8
50
47
uses : actions/setup-dotnet@v4
51
- with :
52
- global-json-file : global.json
53
48
54
49
- name : Set git identity
55
50
if : env.CAN_RUN == 1
79
74
"CAN_RUN=0" | Out-File -FilePath $env:GITHUB_ENV -Append
80
75
}
81
76
82
- - name : Install Xaml Styler
77
+ - name : Install XamlStyler.Console
83
78
if : env.CAN_RUN == 1
84
79
run : dotnet tool install --global XamlStyler.Console
85
80
You can’t perform that action at this time.
0 commit comments