Skip to content

Commit

Permalink
feature: fix post step
Browse files Browse the repository at this point in the history
  • Loading branch information
joelwmale committed Mar 31, 2024
1 parent 414ae45 commit 113290b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,3 @@ outputs:
runs:
using: 'node20'
main: 'dist/index.js'
post: 'dist/index.js'
5 changes: 0 additions & 5 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 113290b

Please sign in to comment.