diff --git a/.github/workflows/example-recording.yml b/.github/workflows/example-recording.yml index eb609ef05..aec0ac0c1 100644 --- a/.github/workflows/example-recording.yml +++ b/.github/workflows/example-recording.yml @@ -55,9 +55,6 @@ jobs: # let's give this action an ID so we can refer # to its output values later id: cypress - # Continue the build in case of an error, as we need to set the - # commit status in the next step, both in case of success and failure - continue-on-error: true with: working-directory: examples/recording record: true @@ -69,6 +66,7 @@ jobs: # https://docs.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#steps-context # "output" can be success, failure, cancelled, or skipped - name: Print Cypress Cloud URL + if: always() run: | echo Cypress finished with: ${{ steps.cypress.outcome }} echo See results at ${{ steps.cypress.outputs.resultsUrl }} diff --git a/README.md b/README.md index 56398d04d..a1f8a37ee 100644 --- a/README.md +++ b/README.md @@ -1370,14 +1370,12 @@ This is an example of using the step output `resultsUrl`: # let's give this action an ID so we can refer # to its output values later id: cypress - # Continue the build in case of an error, as we need to set the - # commit status in the next step, both in case of success or failure - continue-on-error: true with: record: true env: CYPRESS_RECORD_KEY: ${{ secrets.RECORDING_KEY }} - name: Print Cypress Cloud URL + if: always() run: | echo Cypress finished with: ${{ steps.cypress.outcome }} echo See results at ${{ steps.cypress.outputs.resultsUrl }}