Skip to content

Update basic.yml

Update basic.yml #3

Workflow file for this run

name: CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run a one-line script
run: echo Hello, world!
- name: Run a multi-line script
run: |
echo Add other actions to build,
echo test, and deploy your project.
call-sub:
uses: ./.github/workflows/sub/sub1.yml

Check failure on line 27 in .github/workflows/basic.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/basic.yml

Invalid workflow file

invalid value workflow reference: workflows must be defined at the top level of the .github/workflows/ directory