Files
atrium/.github/workflows/check-generated-committed.yml
Robert Stoll d2bcc9c665 move check-generateLogic-committed into own workflow due to github bug
Whatever I tried to do so far, as soon as I run one gradle script in
bash, the one in powershell does not behave as it would normally.
Thus moving the check into an own workflow.
The benefit, we only run it if something has changed in the input files
of the generation.
2020-07-01 20:54:44 +02:00

28 lines
749 B
YAML

name: Check Generated
on:
push:
paths:
- 'logic/**/main/**/*Assertions.kt'
pull_request:
paths:
- 'logic/**/main/**/*Assertions.kt'
jobs:
build:
runs-on: windows-latest
strategy:
fail-fast: true
matrix:
java_version: [9, 10, 11, 12, 13, 14]
steps:
- uses: actions/checkout@v2
- name: "Set up JDK ${{ matrix.java_version }}"
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java_version }}
- name: check generateLogic committed
run: ./gradle/scripts/check-generateLogic-committed.sh
shell: bash