Trigger workflow run

This commit is contained in:
Federico Grandi
2020-03-03 19:30:13 +01:00
parent 5a3f4c1c24
commit f278ec6d47

View File

@@ -5,8 +5,8 @@ import * as path from 'path'
try {
checkInputs()
shell.exec(path.join(__dirname, '../src/entrypoint.sh'))
} catch (e) {
core.setFailed(e)
} catch (err) {
core.setFailed(err)
}
function checkInputs() {
@@ -26,4 +26,4 @@ function checkInputs() {
function setDefault(input: string, value: string) {
const key = 'INPUT_' + input.toUpperCase()
if (!process.env[key]) process.env[key] = value
}
}