From 179ab8fffad247fdd7d2fc1032f48358ecc4b3c8 Mon Sep 17 00:00:00 2001 From: Ramana Reddy Date: Thu, 14 Mar 2024 13:00:19 +0530 Subject: [PATCH] Update workflow --- .github/workflows/compile-latest.yml | 11 ++++------- src/index.js | 1 - 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/compile-latest.yml b/.github/workflows/compile-latest.yml index cc8a567..29bcff0 100644 --- a/.github/workflows/compile-latest.yml +++ b/.github/workflows/compile-latest.yml @@ -1,13 +1,10 @@ name: 🏗️ Compile latest changes on: - # pull_request: - # branches: - # - main + push: + branches: + - main - workflow_dispatch: - - jobs: build: runs-on: ubuntu-latest @@ -15,7 +12,7 @@ jobs: - name: Checkout code uses: actions/checkout@v2 with: - fetch-depth: 0 # Ensures history is available for commits + fetch-depth: 0 - name: Setup Node.js uses: actions/setup-node@v2 diff --git a/src/index.js b/src/index.js index 6bc78e5..c6c8abb 100644 --- a/src/index.js +++ b/src/index.js @@ -42,7 +42,6 @@ async function run() { try { // download and install const binPath = await installer.downloadAndInstall(nucleiVersion); - console.log('Nuclei installed to:', binPath); const params = []; if (!target && !urls) {