mirror of
https://github.com/actions/checkout.git
synced 2025-08-23 10:48:01 +03:00
Compare commits
3 commits
9ff3951225
...
4b6a2f4ae9
Author | SHA1 | Date | |
---|---|---|---|
|
4b6a2f4ae9 | ||
|
ff7abcd0c3 | ||
|
b800b38ab2 |
2 changed files with 9 additions and 6 deletions
|
@ -2,7 +2,11 @@
|
||||||
|
|
||||||
# Checkout V5
|
# Checkout V5
|
||||||
|
|
||||||
Checkout v5 now supports Node.js 24
|
## What's new
|
||||||
|
|
||||||
|
- Updated to the node24 runtime
|
||||||
|
- This requires a minimum Actions Runner version of [v2.327.1](https://github.com/actions/runner/releases/tag/v2.327.1) to run.
|
||||||
|
|
||||||
|
|
||||||
# Checkout V4
|
# Checkout V4
|
||||||
|
|
||||||
|
@ -154,9 +158,10 @@ Please refer to the [release page](https://github.com/actions/checkout/releases/
|
||||||
# Scenarios
|
# Scenarios
|
||||||
|
|
||||||
- [Checkout V5](#checkout-v5)
|
- [Checkout V5](#checkout-v5)
|
||||||
|
- [What's new](#whats-new)
|
||||||
- [Checkout V4](#checkout-v4)
|
- [Checkout V4](#checkout-v4)
|
||||||
- [Note](#note)
|
- [Note](#note)
|
||||||
- [What's new](#whats-new)
|
- [What's new](#whats-new-1)
|
||||||
- [Usage](#usage)
|
- [Usage](#usage)
|
||||||
- [Scenarios](#scenarios)
|
- [Scenarios](#scenarios)
|
||||||
- [Fetch only the root files](#fetch-only-the-root-files)
|
- [Fetch only the root files](#fetch-only-the-root-files)
|
||||||
|
|
|
@ -289,9 +289,8 @@ class GitCommandManager {
|
||||||
args.push(arg)
|
args.push(arg)
|
||||||
}
|
}
|
||||||
|
|
||||||
const that = this
|
|
||||||
await retryHelper.execute(async () => {
|
await retryHelper.execute(async () => {
|
||||||
await that.execGit(args)
|
await this.execGit(args)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -343,9 +342,8 @@ class GitCommandManager {
|
||||||
async lfsFetch(ref: string): Promise<void> {
|
async lfsFetch(ref: string): Promise<void> {
|
||||||
const args = ['lfs', 'fetch', 'origin', ref]
|
const args = ['lfs', 'fetch', 'origin', ref]
|
||||||
|
|
||||||
const that = this
|
|
||||||
await retryHelper.execute(async () => {
|
await retryHelper.execute(async () => {
|
||||||
await that.execGit(args)
|
await this.execGit(args)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue