mirror of
https://github.com/jlengrand/atrium.git
synced 2026-03-10 08:01:19 +00:00
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.
28 lines
749 B
YAML
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
|