feature: fix post step

This commit is contained in:
Joel Male 2024-03-31 22:29:19 +10:00
parent 414ae453c9
commit 113290b45d
2 changed files with 0 additions and 6 deletions

View file

@ -26,4 +26,3 @@ outputs:
runs:
using: 'node20'
main: 'dist/index.js'
post: 'dist/index.js'

View file

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