From 825f8ef5c4360abb1d7a64fd47e7294fc78242a9 Mon Sep 17 00:00:00 2001 From: Code-Floof Date: Sun, 22 Dec 2024 16:57:07 -0500 Subject: [PATCH] Enable cache --- .github/actions/setup_build/action.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/actions/setup_build/action.yml b/.github/actions/setup_build/action.yml index 6790df13..c9cfb3ec 100644 --- a/.github/actions/setup_build/action.yml +++ b/.github/actions/setup_build/action.yml @@ -21,11 +21,15 @@ runs: with: distribution: ${{ inputs.java-distribution }} java-version: ${{ inputs.java-version }} - #cache: "gradle" + cache: "gradle" + cache-dependency-path: | # optional + android/*.gradle* + android/**/gradle-wrapper.properties + pubspec.lock - uses: subosito/flutter-action@v2 with: flutter-version: ${{ inputs.flutter-version }} - cache: false + cache: true - uses: ruby/setup-ruby@v1 with: bundler-cache: true # runs 'bundle install' and caches installed gems automatically