Skip to content

Commit 47ba852

Browse files
committed
Only run uno-check when necessary
1 parent 130f676 commit 47ba852

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.github/install_dependencies/action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ inputs:
1616
sdk-version:
1717
description: 'The version of the Windows Sdk'
1818
required: false
19+
run-uno-check:
20+
description: 'Whether to run the Uno.Check tool'
21+
default: 'true'
22+
required: false
1923

2024
runs:
2125
using: "composite"
@@ -43,6 +47,7 @@ runs:
4347

4448
# Run Uno.Check
4549
- name: Install ${{ inputs.target-platform }} Workloads
50+
if: ${{ inputs.run-uno-check == 'true' }}
4651
shell: pwsh
4752
run: |
4853
dotnet tool install -g uno.check

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ jobs:
7474
uses: "./.github/install_dependencies"
7575
with:
7676
dotnet-version: ${{ env.DOTNET_SDK }}
77+
run-uno-check: 'false'
7778

7879
- name: Restore
7980
run: |

0 commit comments

Comments
 (0)