Browse Source

Merge pull request #973 from nextcloud/fix/ci/remove-caching

fix(ci): Remove caching
pull/974/head
Kate 1 year ago committed by GitHub
parent
commit
d6db4170af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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
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

20
.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:

Loading…
Cancel
Save