Skip to content
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.

Bump gradle/gradle-build-action from 2.11.1 to 2.12.0 (#115) #274

Bump gradle/gradle-build-action from 2.11.1 to 2.12.0 (#115)

Bump gradle/gradle-build-action from 2.11.1 to 2.12.0 (#115) #274

Workflow file for this run

name: CI Build
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
validation:
name: "Validate Gradle Wrapper"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: gradle/wrapper-validation-action@v1.1.0
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
name: Check on ${{ matrix.os }}
steps:
- name: git clone
uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 11
- name: Setup Gradle
uses: gradle/gradle-build-action@v2.12.0
- run: "./gradlew check"
id: gradle
- name: Coveralls
if: matrix.os == 'ubuntu-latest'
run: "./gradlew jacocoTestReport coveralls"
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
- name: "Comment build scan url"
uses: actions/github-script@v7
if: github.event_name == 'pull_request' && failure()
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: '❌ ${{ job.name }} failed: ${{ steps.gradle.outputs.build-scan-url }}'
})