Files
werf-actions/src/cleanup.ts
2020-05-28 07:54:31 +01:00

13 lines
264 B
TypeScript

import * as core from '@actions/core'
import {PrepareEnvironAndRunWerfCommand} from './common'
async function run(): Promise<void> {
try {
await PrepareEnvironAndRunWerfCommand(['cleanup'])
} catch (error) {
core.setFailed(error.message)
}
}
run()