From 4534dc056452ce48ba0631f1c72ddcf27dcd6ec1 Mon Sep 17 00:00:00 2001 From: vilmibm Date: Mon, 12 Apr 2021 19:28:38 -0500 Subject: [PATCH] add failing step flow --- .github/workflows/failingstep.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/failingstep.yml diff --git a/.github/workflows/failingstep.yml b/.github/workflows/failingstep.yml new file mode 100644 index 0000000..fc4ff54 --- /dev/null +++ b/.github/workflows/failingstep.yml @@ -0,0 +1,28 @@ +# This is a basic workflow to help you get started with Actions + +name: failing step + +# Controls when the action will run. Triggers the workflow on push or pull request +# events but only for the trunk branch +on: workflow_dispatch + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "build" + greet: + # The type of runner that the job will run on + runs-on: ubuntu-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Runs a single command using the runners shell + - name: an echo + run: echo "echo" + - name: echo again + run: echo "again" + - name: "a failing step" + run: | + echo "oh no." + exit 1 + - name: "one last time" + run: echo "hey"