Compare commits
1 Commits
test-show-
...
v4.0.0
Author | SHA1 | Date | |
---|---|---|---|
1e31de5234 |
@ -12,9 +12,8 @@ When Git 2.18 or higher is not in your PATH, falls back to the REST API to downl
|
||||
|
||||
# What's new
|
||||
|
||||
- Updated default runtime to node20
|
||||
- This requires a minimum Actions Runner version of [v2.308.0](https://github.com/actions/runner/releases/tag/v2.308.0).
|
||||
- Added support for fetching without the `--progress` option
|
||||
- Updated to the node20 runtime by default
|
||||
- This requires a minimum [Actions Runner](https://github.com/actions/runner/releases/tag/v2.285.0) version of v2.308.0 to run, which is by default available in GHES 3.11 or later.
|
||||
|
||||
# Usage
|
||||
|
||||
|
1
dist/index.js
vendored
1
dist/index.js
vendored
@ -1260,7 +1260,6 @@ 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);
|
||||
}
|
||||
|
@ -177,7 +177,6 @@ export async function getSource(settings: IGitSourceSettings): Promise<void> {
|
||||
} else {
|
||||
fetchOptions.fetchDepth = settings.fetchDepth
|
||||
fetchOptions.fetchTags = settings.fetchTags
|
||||
fetchOptions.showProgress = settings.showProgress
|
||||
const refSpec = refHelper.getRefSpec(settings.ref, settings.commit)
|
||||
await git.fetch(refSpec, fetchOptions)
|
||||
}
|
||||
|
Reference in New Issue
Block a user