Skip to content

Commit a86f8c2

Browse files
committed
Revert "Replace needs with jobs in conditionals"
This reverts commit 319c71a.
1 parent 319c71a commit a86f8c2

File tree

1 file changed

+2
-2
lines changed
  • template/{% if git_platform=="github.com" %}.github{% endif %}/workflows

1 file changed

+2
-2
lines changed

template/{% if git_platform=="github.com" %}.github{% endif %}/workflows/ci.yml.jinja

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
if: always() && needs.check.outputs.branch-pr == ''
4040
uses: ./.github/workflows/_container.yml
4141
with:
42-
publish: ${{jobs.test.result == 'success'}}
42+
publish: ${{needs.test.result == 'success'}}
4343
permissions:
4444
contents: read
4545
packages: write
@@ -49,7 +49,7 @@ jobs:
4949
if: always() && needs.check.outputs.branch-pr == ''
5050
uses: ./.github/workflows/_docs.yml
5151
with:
52-
publish: ${{jobs.test.result == 'success'}}
52+
publish: ${{needs.test.result == 'success'}}
5353

5454
{% endif %}
5555
dist:

0 commit comments

Comments
 (0)