Skip to content

Test Failure

Test Failure #2

Workflow file for this run

name: "Test Failure"
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
id: checkout
- name: Run some command
continue-on-error: true
run: exit 1
id: run-command
- name: Check if previous step succeeded
if: steps.run-command.outcome == 'failure'
run: echo "The previous step failed!"
- name: Check if previous step succeeded
if: steps.run-command.outcome == 'success'
run: echo "The previous step succeeded!"