diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b0e06e3..17ade8c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,6 +24,11 @@ jobs: steps: - uses: actions/checkout@v2 + - uses: actions/setup-java@v2 + with: + distribution: 'temurin' + java-version: '17' + cache: 'gradle' - name: Grant execute permission for gradlew run: chmod +x gradlew - name: cache gradle dependencies @@ -36,4 +41,4 @@ jobs: restore-keys: | ${{ runner.os }}-gradle- - name: Run Tests - run: ./gradlew check \ No newline at end of file + run: ./gradlew check