Skip to content

Update Gradle Wrapper from 8.11 to 8.11.1 (#85) #270

Update Gradle Wrapper from 8.11 to 8.11.1 (#85)

Update Gradle Wrapper from 8.11 to 8.11.1 (#85) #270

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle
name: Java CI with Gradle
on:
workflow_dispatch:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: 'gradle'
- name: Setup ms-playwright cache
id: setup-ms-playwright-cache
uses: actions/cache@v4
with:
# Some dependencies are downloaded to this directory
path: /home/runner/.cache/ms-playwright
# There probably is a smarter way to create this key but this should be ok for now.
key: ms-playwright-cache-${{ runner.os }}-${{ hashFiles('**/build.gradle.kts') }}
- name: Install Playwright Dependencies
if: steps.setup-ms-playwright-cache.outputs.cache-hit != 'true'
run: |
./gradlew playwright --args="install-deps" --no-daemon
./gradlew playwright --args="install" --no-daemon
- name: build
env:
# Browsers will have been installed earlier
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
run: ./gradlew build --no-daemon