Skip to content

Commit

Permalink
Merge pull request #152 from amosproj/ci-v2
Browse files Browse the repository at this point in the history
CI: do not cache separate build dirs
  • Loading branch information
BenediktZinn authored Dec 10, 2024
2 parents cba3104 + a28ffee commit 027d6eb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
3 changes: 0 additions & 3 deletions .github/actions/setup-gradle-cache/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ runs:
with:
path: |
frontend/.gradle
frontend/app/build
frontend/client/build
frontend/build
key: ${{ github.repository }}-${{ runner.os }}-gradle-${{ github.job }}-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ github.repository }}-${{ runner.os }}-gradle-
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,8 @@ jobs:
- name: Gradle Lint
run: |
cd frontend
nix develop --command ./gradlew build --no-daemon --parallel
nix develop --command ./gradlew build \
--no-daemon \
--parallel \
--build-cache \
-Dorg.gradle.jvmargs=-Xmx4G
3 changes: 0 additions & 3 deletions frontend/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,3 @@ kotlin.code.style=official
# resources declared in the library itself and none from the library's dependencies,
# thereby reducing the size of the R class for that library
android.nonTransitiveRClass=true
org.gradle.parallel=true
org.gradle.configuration-cache=true
org.gradle.caching=true

0 comments on commit 027d6eb

Please sign in to comment.