From 2f0afefcc75214e06c80466f80ea0cadda13fe3b Mon Sep 17 00:00:00 2001 From: jagpreetsinghsasan Date: Tue, 5 Nov 2024 06:24:53 +0000 Subject: [PATCH] TESTING Signed-off-by: jagpreetsinghsasan --- .../.dast-nuclei-cmd-api-server.yaml | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/.dast-nuclei-cmd-api-server.yaml b/.github/workflows/.dast-nuclei-cmd-api-server.yaml index 7b5e8b34f9..5cf4ff2f4c 100644 --- a/.github/workflows/.dast-nuclei-cmd-api-server.yaml +++ b/.github/workflows/.dast-nuclei-cmd-api-server.yaml @@ -27,6 +27,17 @@ jobs: - uses: actions/checkout@v4.1.7 + - name: Check file existence + env: + FILE: /home/runner/work/cacti/cacti/packages/cactus-plugin-keychain-memory/package.json + shell: bash + run: | + if [[ -f $FILE ]]; then + echo "$FILE exists!" + else + echo "$FILE does not exist!" + fi + - uses: actions/setup-go@v4.0.0 with: go-version: 1.23 @@ -35,17 +46,6 @@ jobs: - run: nuclei --version - - name: Check file existence - id: check_files - uses: thebinaryfelix/check-file-existence-action@v1 - with: - files: '/home/runner/work/cacti/cacti/packages/cactus-plugin-keychain-memory/package.json' - - - name: Files exist - if: steps.check_files.outputs.exists == 'true' - # Only runs if all of the files exist - run: echo "All files exist!" - - run: npm run configure - name: Create URLs file for Nuclei