Skip to content

Commit

Permalink
Merge pull request #186 from lacework/ipcrm/GROW-2895/add-debugging
Browse files Browse the repository at this point in the history
chore(GROW-2895): add cli debug logging and download timeout
  • Loading branch information
Matt Cadorette authored Apr 25, 2024
2 parents b518fb6 + 46d0eff commit 53bb4c3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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:
Expand Down

0 comments on commit 53bb4c3

Please sign in to comment.