Skip to content

Commit 59df497

Browse files
committed
Disable sparse checkout
1 parent 4fae6f5 commit 59df497

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

.github/workflows/_reusable-eng-tools-test.yaml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@ on:
88
description: Name of package under eng/tools
99
required: true
1010
type: string
11-
sparse-checkout-paths:
12-
description: Paths for sparse checkout
13-
type: string
11+
use-sparse-checkout:
12+
description: Whether to use sparse-checkout
13+
type: boolean
14+
default: true
1415

1516
jobs:
1617
test:
@@ -29,9 +30,7 @@ jobs:
2930
steps:
3031
- uses: actions/checkout@v4
3132
with:
32-
sparse-checkout: |
33-
eng
34-
${{ inputs.sparse-checkout-paths }}
33+
sparse-checkout: ${{ inputs.use-sparse-checkout && 'eng' || ''}}
3534

3635
- name: Use Node ${{ matrix.node-version }}.x
3736
uses: actions/setup-node@v4

.github/workflows/tsp-client-test.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,4 @@ jobs:
2222
uses: ./.github/workflows/_reusable-eng-tools-test.yaml
2323
with:
2424
package: tsp-client-tests
25-
sparse-checkout-paths: |
26-
specification
25+
use-sparse-checkout: false

0 commit comments

Comments
 (0)