From 20ddbeacb4cabdc02d837f0d2e18ae928f79d9cb Mon Sep 17 00:00:00 2001 From: Jason Lantz Date: Sun, 13 Oct 2024 08:13:16 -0500 Subject: [PATCH] Remove condition on snapshot creation --- .github/workflows/snapshot-flow.yml | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/.github/workflows/snapshot-flow.yml b/.github/workflows/snapshot-flow.yml index 7132121..3b68138 100644 --- a/.github/workflows/snapshot-flow.yml +++ b/.github/workflows/snapshot-flow.yml @@ -100,18 +100,11 @@ jobs: - name: Create Hashed Snapshot if Needed id: create_snapshot - if: ${{ inputs.snapshot_name != '' }} run: | - set -e { - cci task run create_hashed_snapshot \ - $([[ "${{ inputs.create_snapshot_commit_status }}" == "true" ]] && echo " --create-commit-status") \ - $([[ "${{ inputs.create_snapshot_environment }}" == "true" ]] && echo " --create-environment") \ - $([[ "${{ inputs.debug }}" == "true" ]] && echo " --debug") - } || { - echo "::error::Failed to start the snapshot. Running cci error info..." - cci error info - exit 1 - } + cci task run create_hashed_snapshot \ + $([[ "${{ inputs.create_snapshot_commit_status }}" == "true" ]] && echo " --create-commit-status") \ + $([[ "${{ inputs.create_snapshot_environment }}" == "true" ]] && echo " --create-environment") \ + $([[ "${{ inputs.debug }}" == "true" ]] && echo " --debug") shell: bash - name: Capture CumulusCI Build History if: always()