Skip to content
Prev Previous commit
Next Next commit
fix condition
  • Loading branch information
corona10 committed Apr 19, 2023
commit 1aafc03b4f2b39f91df86395f662685f4ca245f3
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,13 @@ jobs:
continue-on-error: ${{ matrix.experimental }}
- name: Notify result for experimental tasks (Failure)
uses: thollander/actions-comment-pull-request@v2
if: failure() && ${{ matrix.experimental }} == true
if: ${{ failure() && matrix.experimental }}
with:
message: |
'${{ matrix.os }} - ${{ matrix.python }} is failed, but allowed as the experimental task.'
- name: Notify result for experimental tasks (Success)
uses: thollander/actions-comment-pull-request@v2
if: success() && ${{ matrix.experimental }} == true
if: ${{ success() && matrix.experimental }}
with:
message: |
'${{ matrix.os }} - ${{ matrix.python }} is passed, now we can disable experimental flag.'