Skip to content

add github actions

add github actions #1

name: github actions
on: [push]
jobs:
Explore-GitHub-Actions:
runs-on: ubuntu-latest

Check failure on line 5 in .github/workflows/github-actions.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/github-actions.yml

Invalid workflow file

You have an error in your yaml syntax on line 5
steps:
- run: echo "the job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "this job is running on a ${{ runner.os }} server hosted by github"
- run: echo "the name of your branch is ${{github.ref}} and your repository is ${{github.repository}}"
- name: Check out repository code
uses: actions/checkout@v2
- run: echo "🍏 ${{ github.repository }} has been cloned to the runner"
- run: echo " the workflow is now ready to test your code on the runner"
- name: List files in the repository
run: |
ls ${{ github.workspace }}
- run: echo "this job's status is ${{ job.status }}"