Skip to content

Make compatible with Gradle 6 and Devenv #9

Make compatible with Gradle 6 and Devenv

Make compatible with Gradle 6 and Devenv #9

Workflow file for this run

---
name: Build
on: # yamllint disable-line rule:truthy
push:
branches: [master]
tags:
- "release-*.*.*"
pull_request:
branches: [master]
jobs:
build:
name: Build
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
java: [11]
gradle: ["wrapper", "7.6.4", "8.6", "current"]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v2
- name: Setup JDK ${{ matrix.java }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
- name: Setup Gradle ${{ matrix.gradle }}
uses: gradle/actions/setup-gradle@v3
with:
gradle-version: ${{ matrix.gradle }}
build-scan-publish: true
build-scan-terms-of-service-url: "https://gradle.com/terms-of-service"
build-scan-terms-of-service-agree: "yes"
- name: Build
run: |
gradle build