test checkout v2
This commit is contained in:
parent
9933542c75
commit
a23b6e3498
2
index.js
2
index.js
|
@ -54,7 +54,7 @@ Toolkit.run(async tools => {
|
||||||
newVersion = execSync(`npm version --git-tag-version=false ${version}`).toString().trim()
|
newVersion = execSync(`npm version --git-tag-version=false ${version}`).toString().trim()
|
||||||
newVersion = `${process.env['INPUT_TAG-PREFIX']}${newVersion}`
|
newVersion = `${process.env['INPUT_TAG-PREFIX']}${newVersion}`
|
||||||
console.log('new version:', newVersion)
|
console.log('new version:', newVersion)
|
||||||
await tools.runInWorkspace('git', ['commit', '-a', '-m', `ci: ${commitMessage} ${newVersion}`])
|
// await tools.runInWorkspace('git', ['commit', '-a', '-m', `ci: ${commitMessage} ${newVersion}`])
|
||||||
|
|
||||||
const remoteRepo = `https://${process.env.GITHUB_ACTOR}:${process.env.GITHUB_TOKEN}@github.com/${process.env.GITHUB_REPOSITORY}.git`
|
const remoteRepo = `https://${process.env.GITHUB_ACTOR}:${process.env.GITHUB_TOKEN}@github.com/${process.env.GITHUB_REPOSITORY}.git`
|
||||||
// console.log(Buffer.from(remoteRepo).toString('base64'))
|
// console.log(Buffer.from(remoteRepo).toString('base64'))
|
||||||
|
|
Loading…
Reference in New Issue