Update actions/checkout from v2 to v3

This commit is contained in:
Henry Mercer 2022-03-30 19:42:05 +01:00
parent 7871f0d5e1
commit a2949f47b3
34 changed files with 54 additions and 54 deletions

2
lib/actions-util.js generated
View file

@ -455,7 +455,7 @@ async function getRef() {
return ref;
}
const head = await (0, exports.getCommitOid)(checkoutPath, "HEAD");
// in actions/checkout@v2 we can check if git rev-parse HEAD == GITHUB_SHA
// in actions/checkout@v2+ we can check if git rev-parse HEAD == GITHUB_SHA
// in actions/checkout@v1 this may not be true as it checks out the repository
// using GITHUB_REF. There is a subtle race condition where
// git rev-parse GITHUB_REF != GITHUB_SHA, so we must check

File diff suppressed because one or more lines are too long