1
0
mirror of https://github.com/actions/checkout.git synced 2026-06-23 17:43:52 +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
## 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
* 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) {
args.push('--recursive');
}
const that = this;
yield retryHelper.execute(() => __awaiter(this, void 0, void 0, function* () {
yield that.execGit(args);
}));
yield this.execGit(args);
});
}
submoduleStatus() {

4
package-lock.json generated
View File

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

View File

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

View File

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