First Workflow808 #5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#name: First Workflow | |
#on: | |
# workflow_dispatch: | |
#jobs: | |
# job1: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - name: Echo Job 1 | |
# run: echo "This is Job 1" | |
# job2: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - name: Echo Job 2 | |
# run: echo "This is Job 2" | |
name: First Workflow808 | |
on: | |
workflow_dispatch: | |
issues: | |
types: [opened] | |
jobs: | |
job1: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Step one | |
run: echo "Log from step one" | |
- name: Step two | |
run: echo "Log from step two" | |
job2: | |
needs: job1 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cowsays | |
uses: mscoutermarsh/cowsays-action@master | |
with: | |
text: 'Ready for prod--ship it!' | |
color: 'magenta' |