mirror of
https://code.forgejo.org/forgejo/upload-artifact.git
synced 2024-11-22 16:32:40 +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 * as core from '../node_modules/@actions/core/'
|
||||||
import artifact, {
|
import artifact, {
|
||||||
UploadArtifactOptions
|
UploadArtifactOptions
|
||||||
|
@ -62,6 +64,7 @@ async function run(): Promise<void> {
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
core.setFailed((error as Error).message)
|
core.setFailed((error as Error).message)
|
||||||
|
process.exit(1)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue