Browse Source

fix(ci): Remove caching

Signed-off-by: jld3103 <jld3103yt@gmail.com>
pull/973/head
jld3103 1 year ago
parent
commit
13f6d74a26
No known key found for this signature in database
GPG Key ID: 9062417B9E8EB7B3
  1. 5
      .github/workflows/dart.yml
  2. 20
      .github/workflows/publish.yaml

5
.github/workflows/dart.yml

@ -33,11 +33,6 @@ jobs:
- name: Install dart - name: Install dart
uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d # v1 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 - name: Setup
run: ./tool/setup.sh run: ./tool/setup.sh

20
.github/workflows/publish.yaml

@ -9,9 +9,6 @@ concurrency:
group: publish group: publish
cancel-in-progress: true cancel-in-progress: true
env:
PUB_CACHE: ~/.pub-cache
jobs: jobs:
setup: setup:
name: Setup name: Setup
@ -40,23 +37,6 @@ jobs:
with: with:
flutter-version: ${{ steps.fvm_config.outputs.FLUTTER_VERSION }} flutter-version: ${{ steps.fvm_config.outputs.FLUTTER_VERSION }}
channel: ${{ steps.fvm_config.outputs.FLUTTER_CHANNEL }} 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 - name: Set up JDK 11
uses: actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2 # v3 uses: actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2 # v3
with: with:

Loading…
Cancel
Save