From 85dc1784ae958048da808ff5e7b060abb088bd54 Mon Sep 17 00:00:00 2001 From: "Geoffrey.C" Date: Tue, 10 Dec 2024 15:04:52 +0800 Subject: [PATCH] Revert "fix: set failed when npm install fails" This reverts commit d4ecc5e312f500c6a3dab6f4ab64a24a5f58b06d. --- index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/index.js b/index.js index 3d2f273..f012c73 100644 --- a/index.js +++ b/index.js @@ -1,4 +1,3 @@ -const core = require('@actions/core'); const exec = require('./src/_exec'); const path = require('path'); @@ -17,4 +16,4 @@ const run = async () => { require('./src/index')(); }; -run().catch(core.setFailed); +run().catch(console.error);