@@ -89,16 +89,16 @@ jobs:
8989 if : contains(github.ref, 'renovate/')
9090 run : git pull origin ${{ github.ref }}
9191 - name : Free space
92- if : inputs.os != 'windows'
92+ if : " !contains( inputs.os, 'windows') "
9393 run : ./scripts/github-actions/free-disk-space.sh
9494 - name : Remove driver directories Windows
95- if : inputs.os == 'windows'
95+ if : contains( inputs.os, 'windows')
9696 run : |
9797 rm "$env:ChromeWebDriver" -r -v
9898 rm "$env:EdgeWebDriver" -r -v
9999 rm "$env:GeckoWebDriver" -r -v
100100 - name : Remove driver directories Non-Windows
101- if : inputs.os != 'windows'
101+ if : " !contains( inputs.os, 'windows') "
102102 run : |
103103 sudo rm -rf "$CHROMEWEBDRIVER" "$EDGEWEBDRIVER" "$GECKOWEBDRIVER"
104104 - name : Set Ruby version
@@ -132,7 +132,7 @@ jobs:
132132 name: ${{ inputs.cache-key }}
133133 manifest:
134134 crates: rust/Cargo.Bazel.lock
135- rules_ruby++ruby+ruby: ${{ inputs.os == 'windows' && 'false' || 'rb/.ruby-version' }}
135+ rules_ruby++ruby+ruby: ${{ contains( inputs.os, 'windows') && 'false' || 'rb/.ruby-version' }}
136136 repository-cache : true
137137 - name : Setup Bazel without caching
138138 if : inputs.caching == false
@@ -150,7 +150,7 @@ jobs:
150150 fluxbox -display :99 &
151151 echo "DISPLAY=:99" >> "$GITHUB_ENV"
152152 - name : Set resolution
153- if : inputs.os == 'windows' && inputs.browser != ''
153+ if : contains( inputs.os, 'windows') && inputs.browser != ''
154154 run : Set-DisplayResolution -Width 1920 -Height 1080 -Force
155155 - name : Setup Safari
156156 if : inputs.browser == 'safari'
0 commit comments