Skip to content

Commit 89354f0

Browse files
committed
[#706] BUILD: bugfix: add condition to badge task
1 parent c1431e8 commit 89354f0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ jobs:
6161
6262
- name: Set badge color (Linux)
6363
shell: bash
64+
if: ${{ always() && matrix.os == 'ubuntu-latest' }}
6465
run: |
6566
case ${{ fromJSON( steps.test-results-nix.outputs.json ).conclusion }} in
6667
success)
@@ -76,6 +77,7 @@ jobs:
7677
7778
- name: Set badge color (Win/Mac)
7879
shell: bash
80+
if: ${{ always() && (matrix.os == 'macos-latest' || matrix.os == 'windows-latest') }}
7981
run: |
8082
case ${{ fromJSON( steps.test-results.outputs.json ).conclusion }} in
8183
success)

0 commit comments

Comments
 (0)