mirror of
https://code.forgejo.org/actions/checkout.git
synced 2025-12-06 03:50:39 +00:00
commit
c2a0168ac0
2 changed files with 2 additions and 0 deletions
1
dist/index.js
vendored
1
dist/index.js
vendored
|
|
@ -1534,6 +1534,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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue