upload-artifact/src/upload/index.ts

7 lines
146 B
TypeScript

import * as core from '@actions/core'
import {run} from './upload-artifact'
run().catch(error => {
core.setFailed((error as Error).message)
})