Skip to content

Commit d13d3ad

Browse files
committed
👷 Try some build optimization
1 parent 01ba25f commit d13d3ad

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,13 @@ jobs:
1717
- name: Checkout
1818
uses: actions/checkout@v4
1919
with:
20+
sparse-checkout: src/*/*.psd1
2021
fetch-depth: 2
2122
- name: Module update check
2223
id: has_psd1_changed
2324
continue-on-error: true
2425
run: |
26+
gci -r
2527
$change = @(git diff --name-only HEAD~ HEAD -- (Resolve-Path .\src\*\*.psd1)).Count
2628
"psd1_changed=$( $change ? $true : $null )" >> $env:GITHUB_OUTPUT
2729
Get-Content $env:GITHUB_OUTPUT -Raw

0 commit comments

Comments
 (0)