diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index b87139e8..de9c6e84 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -33,11 +33,6 @@ jobs: - name: Install dart uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d # v1 - - name: Cache dependencies - uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3 - with: - path: ~/.pub-cache/hosted - key: dart-ci - name: Setup run: ./tool/setup.sh diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 9f126f04..ef28cd89 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -9,9 +9,6 @@ concurrency: group: publish cancel-in-progress: true -env: - PUB_CACHE: ~/.pub-cache - jobs: setup: name: Setup @@ -40,23 +37,6 @@ jobs: with: flutter-version: ${{ steps.fvm_config.outputs.FLUTTER_VERSION }} channel: ${{ steps.fvm_config.outputs.FLUTTER_CHANNEL }} - cache: true - - name: Pub dependency cache - uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3 - with: - path: ${{ env.PUB_CACHE }} - key: ${{ runner.os }}-pub-${{ hashFiles('**/pubspec.lock') }} - restore-keys: | - ${{ runner.os }}-pub- - - name: Gradle dependency cache - uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3 - with: - path: | - ~/.gradle/caches - ~/.gradle/wrapper - key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} - restore-keys: | - ${{ runner.os }}-gradle- - name: Set up JDK 11 uses: actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2 # v3 with: