github workflows are dumb
This commit is contained in:
12
.github/workflows/pr-build.yml
vendored
12
.github/workflows/pr-build.yml
vendored
@@ -19,6 +19,12 @@ jobs:
|
||||
with:
|
||||
java-version: ${{ matrix.java }}
|
||||
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.m2/repository
|
||||
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
|
||||
restore-keys: ${{ runner.os }}-maven-
|
||||
|
||||
- name: Setup eden-api
|
||||
run: |
|
||||
git submodule init
|
||||
@@ -26,12 +32,6 @@ jobs:
|
||||
cd eden-api && mvn clean install
|
||||
cd ..
|
||||
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.m2/repository
|
||||
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
|
||||
restore-keys: ${{ runner.os }}-maven-
|
||||
|
||||
- name: Patch Parchment
|
||||
run: |
|
||||
git config --global user.email "you@example.com"
|
||||
|
||||
12
.github/workflows/push-build.yml
vendored
12
.github/workflows/push-build.yml
vendored
@@ -19,6 +19,12 @@ jobs:
|
||||
with:
|
||||
java-version: ${{ matrix.java }}
|
||||
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.m2/repository
|
||||
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
|
||||
restore-keys: ${{ runner.os }}-maven-
|
||||
|
||||
- name: Setup eden-api
|
||||
run: |
|
||||
git submodule init
|
||||
@@ -26,12 +32,6 @@ jobs:
|
||||
cd eden-api && mvn clean install
|
||||
cd ..
|
||||
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.m2/repository
|
||||
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
|
||||
restore-keys: ${{ runner.os }}-maven-
|
||||
|
||||
- name: Patch Parchment
|
||||
run: |
|
||||
git config --global user.email "you@example.com"
|
||||
|
||||
Reference in New Issue
Block a user