Skip to content

Commit f7e6177

Browse files
committed
Use action/checkout to fetch incus_report.sh
1 parent 03dc006 commit f7e6177

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/incus.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,13 @@ jobs:
4343
done
4444
echo
4545
done
46+
- uses: actions/checkout@v6
47+
with:
48+
sparse-checkout: |
49+
utils/incus_report.sh
50+
sparse-checkout-cone-mode: false
4651
- name: Verify Puppet Prometheus report for errors
4752
run: |
4853
incus project switch ${{ steps.create_cluster.outputs.incus_project }}
49-
incus file pull mgmt1/etc/puppetlabs/code/environments/production/utils/incus_report.sh .
50-
exec >> $GITHUB_STEP_SUMMARY
51-
bash incus_report.sh
54+
bash incus_report.sh >> $GITHUB_STEP_SUMMARY
5255

0 commit comments

Comments
 (0)