Skip to content

Commit

Permalink
chore: collect info on error
Browse files Browse the repository at this point in the history
  • Loading branch information
iowillhoit committed Jun 6, 2024
1 parent ad5c36f commit d215f57
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ctcOpen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@ jobs:
id: ctc
shell: bash
run: |
# Temp disable exit on error
set +e
CTC_RESULT=$(sfchangecase create --location ${{github.repositoryUrl}} --release ${{github.repository}}.$(date +%F) --json)
# Re-enable exit on error
set -e
STATUS=$(printf '%s' "$CTC_RESULT" | jq -r '.status')
CTC_ID=$(printf '%s' "$CTC_RESULT" | jq -r '.result.id')
Expand Down

0 comments on commit d215f57

Please sign in to comment.