Merge pull request #1531 from Nikos-Tsiougranas/#1515-add-butAtMost-test #554
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Generate README examples | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: "Set up JDK 11" | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'adopt' | |
java-version: 11 | |
cache: 'gradle' | |
- name: Generate readme | |
run: ./gradlew :readme-examples:build | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v5 | |
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 | |