From 8c424dc76d87ddb46c3c5f131e1f0c7600a2f6d8 Mon Sep 17 00:00:00 2001 From: Pierre Slamich Date: Thu, 24 Aug 2023 14:29:45 +0200 Subject: [PATCH] Revert "Remove FLUTTER_CACHE_KEY as it's not used anymore (#4577)" This reverts commit d49579c8c456badc671083fc7e5a3e2b5c81b284. --- .../android-release-to-org-openfoodfacts-scanner.yml | 3 +++ .../workflows/ios-release-to-org-openfoodfacts-scanner.yml | 3 +++ .github/workflows/release-please.yml | 4 ++++ 3 files changed, 10 insertions(+) diff --git a/.github/workflows/android-release-to-org-openfoodfacts-scanner.yml b/.github/workflows/android-release-to-org-openfoodfacts-scanner.yml index 50813b7e96b..d5e7fc3bfbe 100644 --- a/.github/workflows/android-release-to-org-openfoodfacts-scanner.yml +++ b/.github/workflows/android-release-to-org-openfoodfacts-scanner.yml @@ -6,6 +6,9 @@ on: VERSION_NAME: required: true type: string + FLUTTER-CACHE-KEY: + required: true + type: string VERSION_CODE: required: true type: string diff --git a/.github/workflows/ios-release-to-org-openfoodfacts-scanner.yml b/.github/workflows/ios-release-to-org-openfoodfacts-scanner.yml index 2f82aec0d5a..30a90451ab5 100644 --- a/.github/workflows/ios-release-to-org-openfoodfacts-scanner.yml +++ b/.github/workflows/ios-release-to-org-openfoodfacts-scanner.yml @@ -3,6 +3,9 @@ name: App Store release to org.openfoodfacts.scanner on: workflow_call: inputs: + FLUTTER-CACHE-KEY: + required: true + type: string VERSION_NAME: required: true type: string diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index b838efd9baf..b96122dfae6 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -108,6 +108,7 @@ jobs: with: VERSION_NAME: ${{ needs.create-release.outputs.VERSION_NAME}} VERSION_CODE: ${{ needs.create-release.outputs.VERSION_CODE}} + FLUTTER-CACHE-KEY: '3.3.x' RELEASE_TYPE: 'PLAY' BUILD_TYPE: 'appbundle' FLAVOR: 'main_google_play' @@ -131,6 +132,7 @@ jobs: with: VERSION_NAME: ${{ needs.create-release.outputs.VERSION_NAME}} VERSION_CODE: ${{ needs.create-release.outputs.VERSION_CODE}} + FLUTTER-CACHE-KEY: '3.3.x' secrets: SENTRY_AUTH_TOKEN: ${{secrets.SENTRY_AUTH_TOKEN }} FASTLANE_USER: ${{secrets.FASTLANE_USER }} @@ -154,6 +156,7 @@ jobs: with: VERSION_NAME: ${{ needs.create-release.outputs.VERSION_NAME}} VERSION_CODE: ${{ needs.create-release.outputs.VERSION_CODE}} + FLUTTER-CACHE-KEY: '3.3.x' RELEASE_TYPE: 'GITHUB' BUILD_TYPE: 'apk' TAG_NAME: ${{ needs.release-please.outputs.tag_name}} @@ -178,6 +181,7 @@ jobs: with: VERSION_NAME: ${{ needs.create-release.outputs.VERSION_NAME}} VERSION_CODE: ${{ needs.create-release.outputs.VERSION_CODE}} + FLUTTER-CACHE-KEY: '3.3.x' RELEASE_TYPE: 'GITHUB' BUILD_TYPE: 'apk' TAG_NAME: ${{ needs.release-please.outputs.tag_name}}