Skip to content

Create greetings.yml #1

Create greetings.yml

Create greetings.yml #1

name: "Workflow Commands"
on : ['push']
jobs:
my_job:
runs-on: ubuntu-latest
steps:
- name: "group logging commands"
run: |
echo "::group::This is a group"
echo "Hello"
echo "World"
echo "::endgroup::"

Check failure on line 13 in .github/workflows/workflow_commands.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/workflow_commands.yml

Invalid workflow file

You have an error in your yaml syntax on line 13
- name: "step one"
run: |
echo "This is step one"
echo "x=10" >> $GITHUB_ENV
- name: "step two"
run: echo "This is step two"
- name: "step three"
run: |
echo "This is step three"
echo "x=$x"