From 113290b45d11c0ca4ae84c9cd8bfd1fdfb8d5620 Mon Sep 17 00:00:00 2001 From: Joel Male Date: Sun, 31 Mar 2024 22:29:19 +1000 Subject: [PATCH] feature: fix post step --- action.yml | 1 - src/main.ts | 5 ----- 2 files changed, 6 deletions(-) diff --git a/action.yml b/action.yml index 083b73e0..94a161e4 100644 --- a/action.yml +++ b/action.yml @@ -26,4 +26,3 @@ outputs: runs: using: 'node20' main: 'dist/index.js' - post: 'dist/index.js' diff --git a/src/main.ts b/src/main.ts index 78878dec..58df8f7a 100644 --- a/src/main.ts +++ b/src/main.ts @@ -3,11 +3,6 @@ import {http} from './http' import {context} from '@actions/github' async function run() { - // if its a post job do nothing - if (context.job === 'post') { - return - } - const url = core.getInput('url') ? core.getInput('url') : process.env.WEBHOOK_URL