diff --git a/.github/workflows/.dast-nuclei-cmd-api-server.yaml b/.github/workflows/.dast-nuclei-cmd-api-server.yaml index 4c915e9069..78289ca918 100644 --- a/.github/workflows/.dast-nuclei-cmd-api-server.yaml +++ b/.github/workflows/.dast-nuclei-cmd-api-server.yaml @@ -36,8 +36,17 @@ jobs: echo "$FILE exists!" else echo "$FILE does not exist!" - echo "$pwd" - echo "ls" + fi + + - name: Check file existence + env: + FILE: /home/runner/work/hyperledger-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