Skip to content

Commit cc6d2f8

Browse files
committed
Implied success() causes job to skip.
Use "! failure() && ! cancelled()".
1 parent b00ba02 commit cc6d2f8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/installers-conda.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ jobs:
9797
needs:
9898
- build-matrix
9999
- build-noarch-pkgs
100-
if: contains(fromJson('["success", "skipped"]'), needs.build-noarch-pkgs.result) && needs.build-matrix.result == 'success'
100+
if: ${{ ! failure() && ! cancelled() }}
101101
strategy:
102102
matrix:
103103
target-platform: ${{fromJson(needs.build-matrix.outputs.target_platform)}}
@@ -115,6 +115,8 @@ jobs:
115115
APPLICATION_PWD: ${{ secrets.APPLICATION_PWD }}
116116
CONSTRUCTOR_TARGET_PLATFORM: ${{ matrix.target-platform }}
117117
STATUS: ${{ needs.build-noarch-pkgs.result }}
118+
MAT_STATUS: ${{ needs.build-matrix.result }}
119+
118120
steps:
119121
- name: Checkout Code
120122
uses: actions/checkout@v3

0 commit comments

Comments
 (0)