diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 45ecbd346..1a22769f7 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -62,19 +62,11 @@ jobs: - name: Check Out Code uses: actions/checkout@v2 - - name: Set up JDK 11 - uses: actions/setup-java@v1 + - name: Set up JDK and Gradle on Windows + uses: actions/setup-java@v2 with: java-version: 11 - - - name: Grant execute permission for gradlew - run: | - gradlew.bat - echo "gradlew.bat granted execute permission" - - - name: Build with Gradle - run: | - gradlew.bat build -x test + distribution: 'adopt' # Specify the distribution, e.g., 'adopt', 'adopt@1.11', etc. - name: Run JUnit Tests on Windows run: |