Skip to content

add workflow

add workflow #1

name: First Workflow
on:
workflow_dispatch:
issues:
types: [opened]
jobs:
job1:
runs-on: ubuntu-latest
steps:
- name: step one
run: echo "Log from step one"
env:
VARIABLE_NAME: value
- name: step two
run: echo "Log from step two"
job2:
runs-on: ubuntu-latest
steps:
- name: Cowsays
uses: mscoutermarsh/cowsays-action@master

Check failure on line 22 in .github/workflows/first-workflow.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/first-workflow.yaml

Invalid workflow file

You have an error in your yaml syntax on line 22
with:
text: 'Ready to prod-ship it!'
color: 'magenta'