From 46d0efff910a960d56276cd5b24001c791bb0419 Mon Sep 17 00:00:00 2001 From: ipcrm Date: Thu, 25 Apr 2024 12:55:31 +0000 Subject: [PATCH] chore(GROW-2895): add cli debug logging and download timeout --- action.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/action.yaml b/action.yaml index c799d3d..014f565 100644 --- a/action.yaml +++ b/action.yaml @@ -92,6 +92,11 @@ runs: with: path: ~/.config/lacework/components key: lacework-${{ steps.init.outputs.cache-key }} + - name: Sets LW_LOG var for debug + shell: bash + if: ${{ inputs.debug == 'true' }} + run: | + echo "LW_LOG=debug" >> $GITHUB_ENV - if: steps.cache.outputs.cache-hit != 'true' shell: bash run: | @@ -103,6 +108,8 @@ runs: echo "::group::Printing Lacework CLI information" lacework --noninteractive -a "${LW_ACCOUNT_NAME}" -k "${LW_API_KEY}" -s "${LW_API_SECRET}" version echo "::endgroup::" + env: + CDK_DOWNLOAD_TIMEOUT_MINUTES: 2 - if: steps.cache.outputs.cache-hit != 'true' uses: actions/cache/save@v3 with: