diff --git a/.github/workflows/validate-pr.yml b/.github/workflows/validate-pr.yml index d4ad17d15..3ec6147ad 100644 --- a/.github/workflows/validate-pr.yml +++ b/.github/workflows/validate-pr.yml @@ -183,14 +183,11 @@ jobs: key: ${{ runner.os }}-ivy-${{ hashFiles('**/*.sbt') }} restore-keys: | ${{ runner.os }}-ivy- - - name: Download JDK 1.8 - run: wget -O zulu-jdk.tar.gz https://cdn.azul.com/zulu/bin/zulu8.38.0.13-ca-fx-jdk8.0.212-linux_x64.tar.gz - - name: Set up JDK 1.8 - uses: actions/setup-java@v1 + - name: Set up Azul JDK 1.8 and SBT + uses: olafurpg/setup-scala@v10 with: - java-version: 1.8 # the standard zulu dist doesn't include javafx - jdkFile: 'zulu-jdk.tar.gz' + java-version: zulu@1.8=tgz+https://cdn.azul.com/zulu/bin/zulu8.38.0.13-ca-fx-jdk8.0.212-linux_x64.tar.gz - name: Validate run: sbt "^validateJdkPackagerTravis"