-
-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Example:
async function run(): Promise<void> {
try {
const sourceSettings = await inputHelper.getInputs()
try {
await foo();
} finally {
await foo();
}
} catch (error) {
core.setFailed(`${(error as any)?.message ?? error}`)
}
}
async function cleanup(): Promise<void> {
try {
await foo();
} catch (error) {
core.warning(`${(error as any)?.message ?? error}`)
}
}
// Main
if (!stateHelper.IsPost) {
run()
}
// Post
else {
cleanup()
}
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working