5
0
Fork 0
mirror of https://github.com/cycjimmy/semantic-release-action.git synced 2025-11-07 02:36:55 +00:00

fix: set failed when npm install fails

set failed when npm install fails

fix #224
This commit is contained in:
Geoffrey.C 2024-12-10 15:01:35 +08:00
parent b2ec2708bf
commit d4ecc5e312

View file

@ -1,3 +1,4 @@
const core = require('@actions/core');
const exec = require('./src/_exec');
const path = require('path');
@ -16,4 +17,4 @@ const run = async () => {
require('./src/index')();
};
run().catch(console.error);
run().catch(core.setFailed);