Skip to content

Commit

Permalink
[#706] BUILD: bugfix: add condition to badge task
Browse files Browse the repository at this point in the history
  • Loading branch information
remkop committed Jan 27, 2023
1 parent c1431e8 commit 89354f0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ jobs:
- name: Set badge color (Linux)
shell: bash
if: ${{ always() && matrix.os == 'ubuntu-latest' }}
run: |
case ${{ fromJSON( steps.test-results-nix.outputs.json ).conclusion }} in
success)
Expand All @@ -76,6 +77,7 @@ jobs:
- name: Set badge color (Win/Mac)
shell: bash
if: ${{ always() && (matrix.os == 'macos-latest' || matrix.os == 'windows-latest') }}
run: |
case ${{ fromJSON( steps.test-results.outputs.json ).conclusion }} in
success)
Expand Down

0 comments on commit 89354f0

Please sign in to comment.