1
0
mirror of https://github.com/actions/checkout.git synced 2026-06-14 16:53:47 +08:00
This commit is contained in:
Kristen T. Tran
2026-01-09 09:11:22 +01:00
committed by GitHub
3 changed files with 103 additions and 0 deletions

1
dist/index.js vendored
View File

@@ -1544,6 +1544,7 @@ function getSource(settings) {
else {
fetchOptions.fetchDepth = settings.fetchDepth;
fetchOptions.fetchTags = settings.fetchTags;
fetchOptions.showProgress = settings.showProgress;
const refSpec = refHelper.getRefSpec(settings.ref, settings.commit);
yield git.fetch(refSpec, fetchOptions);
}