feat: Add pipelines (SCRUM-44) #6
@ -15,18 +15,13 @@ jobs:
|
||||
- uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
$HOME/.m2/repository
|
||||
~/.m2/repository
|
||||
./.gradle
|
||||
./app/build
|
||||
./build
|
||||
./release
|
||||
key: gradle-${{ runner.os }}
|
||||
~/.gradle/caches
|
||||
~/.gradle/wrapper
|
||||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
|
||||
restore-keys: |
|
||||
gradle-${{ runner.os }}
|
||||
gradle-
|
||||
- name: Setup Gradle
|
||||
uses: gradle/gradle-build-action@v2
|
||||
${{ runner.os }}-gradle-
|
||||
- name: "Prepare Gradle"
|
||||
run: gradle clean
|
||||
- name: "Check"
|
||||
run: gradle testClasses
|
||||
- name: "Stop Gradle"
|
||||
@ -42,18 +37,13 @@ jobs:
|
||||
- uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
$HOME/.m2/repository
|
||||
~/.m2/repository
|
||||
./.gradle
|
||||
./app/build
|
||||
./build
|
||||
./release
|
||||
key: gradle-${{ runner.os }}
|
||||
~/.gradle/caches
|
||||
~/.gradle/wrapper
|
||||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
|
||||
restore-keys: |
|
||||
gradle-${{ runner.os }}
|
||||
gradle-
|
||||
- name: Setup Gradle
|
||||
uses: gradle/gradle-build-action@v2
|
||||
${{ runner.os }}-gradle-
|
||||
- name: "Prepare Gradle"
|
||||
run: gradle clean
|
||||
- name: "Check"
|
||||
run: gradle check
|
||||
- name: "Stop Gradle"
|
||||
|
Loading…
Reference in New Issue
Block a user