1
0
mirror of https://github.com/actions/checkout.git synced 2026-03-07 08:51:46 +08:00

Compare commits

...

3 Commits

Author SHA1 Message Date
Allen Blaylock
f0dce481e9
Merge 15b44f68ab into 1af3b93b68 2025-11-21 12:41:58 +05:30
eric sciple
1af3b93b68
update readme/changelog for v6 (#2311) 2025-11-20 10:20:04 -06:00
Allen Blaylock
15b44f68ab Added retry to submodule cloning 2024-03-01 15:48:13 -07:00
4 changed files with 18 additions and 3 deletions

View File

@ -1,8 +1,17 @@
# Changelog # Changelog
## V6.0.0
* Persist creds to a separate file by @ericsciple in https://github.com/actions/checkout/pull/2286
* Update README to include Node.js 24 support details and requirements by @salmanmkc in https://github.com/actions/checkout/pull/2248
## V5.0.1
* Port v6 cleanup to v5 by @ericsciple in https://github.com/actions/checkout/pull/2301
## V5.0.0 ## V5.0.0
* Update actions checkout to use node 24 by @salmanmkc in https://github.com/actions/checkout/pull/2226 * Update actions checkout to use node 24 by @salmanmkc in https://github.com/actions/checkout/pull/2226
## V4.3.1
* Port v6 cleanup to v4 by @ericsciple in https://github.com/actions/checkout/pull/2305
## V4.3.0 ## V4.3.0
* docs: update README.md by @motss in https://github.com/actions/checkout/pull/1971 * docs: update README.md by @motss in https://github.com/actions/checkout/pull/1971

View File

@ -1,6 +1,6 @@
[![Build and Test](https://github.com/actions/checkout/actions/workflows/test.yml/badge.svg)](https://github.com/actions/checkout/actions/workflows/test.yml) [![Build and Test](https://github.com/actions/checkout/actions/workflows/test.yml/badge.svg)](https://github.com/actions/checkout/actions/workflows/test.yml)
# Checkout v6-beta # Checkout v6
## What's new ## What's new

5
dist/index.js vendored
View File

@ -985,7 +985,10 @@ class GitCommandManager {
if (recursive) { if (recursive) {
args.push('--recursive'); args.push('--recursive');
} }
yield this.execGit(args); const that = this;
yield retryHelper.execute(() => __awaiter(this, void 0, void 0, function* () {
yield that.execGit(args);
}));
}); });
} }
submoduleStatus() { submoduleStatus() {

View File

@ -459,7 +459,10 @@ class GitCommandManager {
args.push('--recursive') args.push('--recursive')
} }
await this.execGit(args) const that = this
await retryHelper.execute(async () => {
await that.execGit(args)
})
} }
async submoduleStatus(): Promise<boolean> { async submoduleStatus(): Promise<boolean> {