mirror of
https://github.com/actions/checkout.git
synced 2026-06-23 17:43:52 +08:00
Compare commits
1 Commits
cdfda62be7
...
v4.2.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
eef61447b9 |
@@ -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
5
dist/index.js
vendored
@@ -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
4
package-lock.json
generated
@@ -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",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "checkout",
|
||||
"version": "4.2.0",
|
||||
"version": "4.2.1",
|
||||
"description": "checkout action",
|
||||
"main": "lib/main.js",
|
||||
"scripts": {
|
||||
|
||||
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user