fix gradle caching
All checks were successful
/ Build BaseBand DSM & Broadway (push) Successful in 2m57s
All checks were successful
/ Build BaseBand DSM & Broadway (push) Successful in 2m57s
This commit is contained in:
parent
4dad8ec4b9
commit
d15c941548
2 changed files with 6 additions and 3 deletions
|
@ -27,7 +27,7 @@ jobs:
|
|||
- name: Get ForgeGradle cache
|
||||
continue-on-error: true
|
||||
run: |
|
||||
cp ~/.gradle/caches/baseband/fg_cache Client/build/fg_cache
|
||||
mv ~/.gradle/caches/baseband/fg_cache Client/build/fg_cache
|
||||
ln ../../Client/build/fg_cache Loader/build/fg_cache
|
||||
- name: Build
|
||||
run: |
|
||||
|
@ -82,6 +82,7 @@ jobs:
|
|||
- name: Put ForgeGradle cache
|
||||
if: always()
|
||||
run: |
|
||||
rm -rf ~/.gradle/caches/baseband/fg_cache
|
||||
mkdir -p ~/.gradle/caches/baseband/
|
||||
mv Client/build/fg_cache ~/.gradle/caches/baseband/
|
||||
|
||||
|
|
|
@ -29,7 +29,8 @@ jobs:
|
|||
- name: Get ForgeGradle cache
|
||||
continue-on-error: true
|
||||
run: |
|
||||
cp ~/.gradle/caches/baseband/fg_cache Client/build/fg_cache
|
||||
mkdir Client/build Loader/build
|
||||
mv ~/.gradle/caches/baseband/fg_cache Client/build/
|
||||
ln ../../Client/build/fg_cache Loader/build/fg_cache
|
||||
- name: Build
|
||||
run: |
|
||||
|
@ -58,5 +59,6 @@ jobs:
|
|||
- name: Put ForgeGradle cache
|
||||
if: always()
|
||||
run: |
|
||||
rm -rf ~/.gradle/caches/baseband/fg_cache
|
||||
mkdir -p ~/.gradle/caches/baseband/
|
||||
mv Client/build/fg_cache ~/.gradle/caches/baseband/"
|
||||
mv Client/build/fg_cache ~/.gradle/caches/baseband/
|
||||
|
|
Loading…
Add table
Reference in a new issue