mirror of
https://code.forgejo.org/forgejo/upload-artifact.git
synced 2024-12-22 14:32:45 +00:00
kill
This commit is contained in:
parent
c41b3a9519
commit
6253cc74af
1 changed files with 3 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
|||
import process from 'process'
|
||||
|
||||
import * as core from '../node_modules/@actions/core/'
|
||||
import artifact, {
|
||||
UploadArtifactOptions
|
||||
|
@ -62,6 +64,7 @@ async function run(): Promise<void> {
|
|||
}
|
||||
} catch (error) {
|
||||
core.setFailed((error as Error).message)
|
||||
process.exit(1)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue