mirror of
https://github.com/jlengrand/atrium.git
synced 2026-03-10 08:01:19 +00:00
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.
This commit is contained in:
27
.github/workflows/check-generated-committed.yml
vendored
Normal file
27
.github/workflows/check-generated-committed.yml
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
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
|
||||
6
.github/workflows/java-windows.yml
vendored
6
.github/workflows/java-windows.yml
vendored
@@ -19,12 +19,8 @@ jobs:
|
||||
with:
|
||||
java-version: ${{ matrix.java_version }}
|
||||
|
||||
- name: check generateLogic committed
|
||||
run: ./gradle/scripts/check-generateLogic-committed.sh
|
||||
shell: bash
|
||||
|
||||
- name: buildNonDeprecatedJvm
|
||||
run: ./gradlew clean buildNonDeprecatedJvm
|
||||
run: ./gradlew buildNonDeprecatedJvm
|
||||
|
||||
- name: Cache android jar
|
||||
id: android-cache
|
||||
|
||||
Reference in New Issue
Block a user