Skip to content

Commit

Permalink
sériový workflow, každý job bude čekat na předchozí
Browse files Browse the repository at this point in the history
  • Loading branch information
czechbol committed Jan 2, 2022
1 parent a89384b commit 592feb2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ jobs:
# vytvoření prázdného releasu
release:
runs-on: ubuntu-latest
needs: subjects

outputs:
upload_url: ${{ steps.create_release.outputs.upload_url }}
Expand Down Expand Up @@ -99,7 +100,7 @@ jobs:
addSubjects:
runs-on: ubuntu-latest
# potřeba listOfDirectories pro vytvoření jobs matrix
needs: [ listOfDirectories, subjects, release ]
needs: [ release, listOfDirectories ]

# vytvoření samostatného jobu pro každý předmět
strategy:
Expand Down

0 comments on commit 592feb2

Please sign in to comment.