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