Skip to content

Instantly share code, notes, and snippets.

@weibeld
Created July 31, 2020 12:50
Show Gist options
  • Save weibeld/15884ea9a57fe89f1947e267dcb97af3 to your computer and use it in GitHub Desktop.
Save weibeld/15884ea9a57fe89f1947e267dcb97af3 to your computer and use it in GitHub Desktop.
GitHub Actions example workflow — Conditionals 1
name: conditionals-1
on: workflow_dispatch
jobs:
my-job:
runs-on: ubuntu-latest
steps:
- name: step-1
run: echo "Step 1"
- name: step-2
run: exit 1
- name: step-3
run: echo "Step 3"
- name: step-4
run: echo "Step 4"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment