Skip to content

Commit

Permalink
test(ci): use contains to detect os in more stable manner
Browse files Browse the repository at this point in the history
  • Loading branch information
mikehardy committed Feb 15, 2024
1 parent 9310987 commit 40bfa67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests_unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
steps:
- name: Configure Windows Pagefile
uses: al-cheb/[email protected]
if: matrix.os == 'windows-latest'
if: contains(matrix.os, 'windows')
with:
minimum-size: 8GB
maximum-size: 12GB
Expand Down Expand Up @@ -90,7 +90,7 @@ jobs:
arguments: jacocoUnitTestReport --daemon

- name: Stop Gradle
if: matrix.os == 'windows-latest'
if: contains(matrix.os, 'windows')
uses: gradle/gradle-build-action@v3
with:
arguments: --stop
Expand Down

0 comments on commit 40bfa67

Please sign in to comment.