diff --git a/.github/workflows/pull-request-build.yml b/.github/workflows/pull-request-build.yml index d93189b99e..b2f9b20813 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 ac11edeba1..948bbc02cb 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 @@ -39,9 +41,9 @@ jobs: - name: Build with Flutter env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - SIGNING_KEY_ALIAS: ${{ secrets.SIGNING_KEY_ALIAS }} - SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }} - SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_KEYSTORE_PASSWORD }} + #SIGNING_KEY_ALIAS: ${{ secrets.SIGNING_KEY_ALIAS }} + #SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }} + #SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_KEYSTORE_PASSWORD }} run: flutter build apk - name: Sign APK id: sign_apk @@ -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