Skip to content

Test dependent workflows: needs #1

Test dependent workflows: needs

Test dependent workflows: needs #1

Workflow file for this run

name: 'work1'
# Controls when the action will run
on:
push:
branches:
- '**' # '*' Matches zero or more characters, but does not match the `/` character. '**' matches zero or more of any character.
- '!main'
# Allows to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
job1:

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

View workflow run for this annotation

GitHub Actions / work1

Invalid workflow file

The workflow is not valid. .github/workflows/work2.yml (Line: 13, Col: 3): The workflow must contain at least one job with no dependencies.
runs-on: 'ubuntu-latest'
needs: 'work1.job1'
steps:
- name: Download artifact
uses: actions/download-artifact@v3
with:
name: time
- name: 'w2-step2'
run: |
echo '*** READ time: '
cat time.txt