diff --git a/.github/workflows/pull-request-build.yml b/.github/workflows/pull-request-build.yml index d93189b9..b2f9b208 100644 --- a/.github/workflows/pull-request-build.yml +++ b/.github/workflows/pull-request-build.yml @@ -20,10 +20,12 @@ jobs: with: java-version: '17' distribution: 'zulu' + cache: 'gradle' - name: Setup Flutter uses: subosito/flutter-action@v2 with: channel: 'stable' + cache: true - name: Install Flutter dependencies run: flutter pub get - name: Generate files with Builder diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ac11edeb..7476009a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,6 +23,7 @@ jobs: with: java-version: '17' distribution: 'zulu' + cache: 'gradle' - name: Setup Node.js uses: actions/setup-node@v3 with: @@ -32,6 +33,7 @@ jobs: uses: subosito/flutter-action@v2 with: channel: 'stable' + cache: true - name: Install Flutter dependencies run: flutter pub get - name: Generate files with Builder @@ -64,4 +66,4 @@ jobs: - name: Release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: npm exec semantic-release \ No newline at end of file + run: npm exec semantic-release