1
0
mirror of https://github.com/actions/checkout.git synced 2026-07-02 18:33:48 +08:00

Compare commits

..

1 Commits

Author SHA1 Message Date
Josh Gross
eef61447b9 Prepare 4.2.1 release (#1925) 2024-10-07 12:38:04 -04:00
5 changed files with 8 additions and 11 deletions

View File

@@ -1,5 +1,8 @@
# Changelog # Changelog
## v4.2.1
* Check out other refs/* by commit if provided, fall back to ref by @orhantoy in https://github.com/actions/checkout/pull/1924
## v4.2.0 ## v4.2.0
* Add Ref and Commit outputs by @lucacome in https://github.com/actions/checkout/pull/1180 * Add Ref and Commit outputs by @lucacome in https://github.com/actions/checkout/pull/1180

5
dist/index.js vendored
View File

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

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{ {
"name": "checkout", "name": "checkout",
"version": "4.2.0", "version": "4.2.1",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "checkout", "name": "checkout",
"version": "4.2.0", "version": "4.2.1",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@actions/core": "^1.10.1", "@actions/core": "^1.10.1",

View File

@@ -1,6 +1,6 @@
{ {
"name": "checkout", "name": "checkout",
"version": "4.2.0", "version": "4.2.1",
"description": "checkout action", "description": "checkout action",
"main": "lib/main.js", "main": "lib/main.js",
"scripts": { "scripts": {

View File

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