Skip to content

Commit 8224cb0

Browse files
author
Matthias Koeppe
committed
.github/workflows/build.yml: Fix 'if' of some steps
1 parent 3838613 commit 8224cb0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ jobs:
167167
# Testing
168168

169169
- name: Test changed files (sage -t --new)
170+
if: always() && steps.build.outcome == 'success'
170171
run: |
171172
# We run tests with "sage -t --new"; this only tests the uncommitted changes.
172173
./sage -t --new -p2
@@ -176,7 +177,7 @@ jobs:
176177
SAGE_NUM_THREADS: 2
177178

178179
- name: Test modularized distributions
179-
if: always() && steps.worktree.outcome == 'success'
180+
if: always() && steps.build.outcome == 'success'
180181
run: make V=0 tox && make pypi-wheels-check
181182
working-directory: ./worktree-image
182183
env:

0 commit comments

Comments
 (0)