Skip to content

Commit 2e3a4d9

Browse files
committed
fixing conditional exec
1 parent 4b4b59e commit 2e3a4d9

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.github/workflows/docker.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,7 @@ jobs:
4949

5050
build-python:
5151
needs: [detect-changes, build-ros]
52-
if: |
53-
needs.detect-changes.outputs.python == 'true' ||
54-
needs.build-ros.result == 'success'
52+
if: needs.detect-changes.outputs.python == 'true'
5553
uses: ./.github/workflows/_docker-build-template.yml
5654
with:
5755
image-tag: ghcr.io/dimensionalos/base-ros-python:latest
@@ -60,9 +58,7 @@ jobs:
6058

6159
build-dev:
6260
needs: [detect-changes, build-python]
63-
if: |
64-
needs.detect-changes.outputs.dev == 'true' ||
65-
needs.build-python.result == 'success'
61+
if: needs.detect-changes.outputs.dev == 'true'
6662
uses: ./.github/workflows/_docker-build-template.yml
6763
with:
6864
image-tag: ghcr.io/dimensionalos/dev:latest
@@ -72,8 +68,7 @@ jobs:
7268
run-tests:
7369
runs-on: dimos-runner-ubuntu-2204
7470
needs: [detect-changes, build-dev]
75-
if: |
76-
needs.detect-changes.outputs.tests == 'true'
71+
if: needs.detect-changes.outputs.tests == 'true'
7772
container:
7873
image: ghcr.io/dimensionalos/dev:latest
7974
steps:

0 commit comments

Comments
 (0)