Skip to content

Commit

Permalink
add error message
Browse files Browse the repository at this point in the history
  • Loading branch information
jaisnan committed Sep 15, 2023
1 parent f450511 commit 05be104
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/test-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,14 @@ jobs:
id: set_error
run: |
output=$(./src/install-kani.sh "0.47.0")
echo $output
echo "ERROR_MESSAGE=${output}" >> "$GITHUB_OUTPUT"
continue-on-error: true # Continue to the next steps even if this job fails

- name: Debug previous step
id: debug_step
run: echo "The selected color is $MY_VARIABLE"
env:
ERROR_MESSAGE: ${{ steps.random-color-generator.outputs.ERROR_MESSAGE }}
run: echo "The selected color is $ERROR_MESSAGE"

- name: Run Kani with older version
uses: ./ # Uses the action in the root directory
Expand Down

0 comments on commit 05be104

Please sign in to comment.