From e911a5723227c0dcee86abc1a211987a3aa5bdcf Mon Sep 17 00:00:00 2001 From: "linda.nasredin" Date: Thu, 25 Apr 2024 19:09:08 +0300 Subject: [PATCH] Optionally delay destroy in github actions to allow investigation time --- .github/workflows/dsf_single_account_cli.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dsf_single_account_cli.yml b/.github/workflows/dsf_single_account_cli.yml index 6b89810d3..81f84c7d4 100644 --- a/.github/workflows/dsf_single_account_cli.yml +++ b/.github/workflows/dsf_single_account_cli.yml @@ -219,13 +219,17 @@ jobs: run: terraform -chdir=$EXAMPLE_DIR output -json - name: Collect Artifacts + id: collect-artifacts if: always() - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: collected-keys path: | ${{ env.EXAMPLE_DIR }}/ssh_keys + - name: Output artifact URL + run: echo 'Artifact URL is ${{ steps.collect-artifacts.outputs.artifact-url }} and ID is ${{ steps.collect-artifacts.outputs.artifact-id }}' + - name: Check how was the workflow run id: check-trigger if: ${{ failure() }}