mirror of
https://github.com/actions/checkout.git
synced 2026-07-02 18:33:48 +08:00
Compare commits
1 Commits
cdfda62be7
...
v4.2.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
eef61447b9 |
@@ -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
5
dist/index.js
vendored
@@ -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
4
package-lock.json
generated
@@ -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",
|
||||||
|
|||||||
@@ -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": {
|
||||||
|
|||||||
@@ -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> {
|
||||||
|
|||||||
Reference in New Issue
Block a user