Skip to content

apparently gradle-build-action was replaced by setup-gradle #823

apparently gradle-build-action was replaced by setup-gradle

apparently gradle-build-action was replaced by setup-gradle #823

name: Generate README examples
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: "Set up JDK 11"
uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: 11
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Generate readme
run: ./gradlew :readme-examples:build
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
branch: re-generate-README
title: Re-Generate README examples
commit-message: generate README examples
body: Looks like someone forgot to run gr build or did not commit the changes
delete-branch: true