Skip to content

Update gradle.yml

Update gradle.yml #12

Workflow file for this run

name: CI (Gradle)
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build
- name: Upload test results to BuildPulse for flaky test detection
if: '!cancelled()' # Run this step even when the tests fail. Skip if the workflow is cancelled.
uses: buildpulse/buildpulse-action@main
with:
account: 68192324 # Replace this value with your BuildPulse account ID.
repository: 283524652 # Replace this value with your BuildPulse repository ID.
path: build/test-results # By default, Gradle writes XML test reports to build/test-results. If you're writing XML reports to a different path, specify that path here.
key: ${{ secrets.BUILDPULSE_ACCESS_KEY_ID }}
secret: ${{ secrets.BUILDPULSE_SECRET_ACCESS_KEY }}