Trigger workflow run
This commit is contained in:
@@ -5,8 +5,8 @@ import * as path from 'path'
|
|||||||
try {
|
try {
|
||||||
checkInputs()
|
checkInputs()
|
||||||
shell.exec(path.join(__dirname, '../src/entrypoint.sh'))
|
shell.exec(path.join(__dirname, '../src/entrypoint.sh'))
|
||||||
} catch (e) {
|
} catch (err) {
|
||||||
core.setFailed(e)
|
core.setFailed(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
function checkInputs() {
|
function checkInputs() {
|
||||||
@@ -26,4 +26,4 @@ function checkInputs() {
|
|||||||
function setDefault(input: string, value: string) {
|
function setDefault(input: string, value: string) {
|
||||||
const key = 'INPUT_' + input.toUpperCase()
|
const key = 'INPUT_' + input.toUpperCase()
|
||||||
if (!process.env[key]) process.env[key] = value
|
if (!process.env[key]) process.env[key] = value
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user