diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index eaebf8bbe7..5c682a2fd1 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -36,11 +36,12 @@ jobs: steps: - name: Check out NullAway sources uses: actions/checkout@v3 - - name: 'Set up JDK 17' + - name: 'Set up JDK 17 on Windows' uses: actions/setup-java@v3 with: java-version: '17' distribution: 'temurin' + if: matrix.os == 'windows-latest' - name: 'Set up JDK ${{ matrix.java }}' uses: actions/setup-java@v3 with: