1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/upload-artifact.git synced 2024-11-12 12:22:38 +00:00
This commit is contained in:
Rob Herley 2023-12-06 18:11:45 -05:00
parent c41b3a9519
commit 6253cc74af
No known key found for this signature in database
GPG key ID: D1602042C3543B06

View file

@ -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)
} }
} }