Skip to content

Commit

Permalink
github: fix publish workflow
Browse files Browse the repository at this point in the history
It is somehow impossible to depend on sub-jobs of an included workflow:

Invalid workflow file: .github/workflows/publish.yml#L85
.github/workflows/publish.yml (Line: 85, Col: 9): Job 'upload' depends
on unknown job 'smoke'.
.github/workflows/publish.yml (Line: 86, Col: 9): Job 'upload' depends
on unknown job 'lint'.

Depend on the top level workflow include job instead.

Signed-off-by: Robin Jarry <[email protected]>
  • Loading branch information
rjarry committed Jan 9, 2025
1 parent 24acf19 commit b547dc6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,9 @@ jobs:
contents: write
runs-on: ubuntu-24.04
needs:
- check
- deb
- rpm
- smoke
- lint
steps:
- uses: actions/checkout@v4
with:
Expand Down

0 comments on commit b547dc6

Please sign in to comment.