Skip to content

Commit

Permalink
ci: Fix wrong env name (openfoodfacts#2818)
Browse files Browse the repository at this point in the history
* ci: Fix ci cache key

* ci: Fix wrong env name
  • Loading branch information
M123-dev authored Aug 21, 2022
1 parent 799d617 commit 5399834
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ on:
required: true
SPACESHIP_CONNECT_API_KEY_ID:
required: true
AUTH_KEY_FILE_DECRYPTKEY:
required: true

env:
JAVA_VERSION: 17
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/postsubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
push:
branches:
- "develop"

env:
FLUTTER_VERSION: '3.0.x'

jobs:
build:
Expand All @@ -21,13 +24,12 @@ jobs:
distribution: 'zulu'
java-version: 11

# Setup flutter
- name: Setup Flutter
uses: subosito/flutter-action@v2
with:
channel: stable
cache: true
cache-key: flutter3.0.1 # change this to force refresh cache
cache-key: flutter-${{ env.FLUTTER_VERSION }}-${{ hashFiles('**/pubspec.lock')}}

- run: flutter --version

Expand Down
15 changes: 8 additions & 7 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@ jobs:
subdirectory: packages/smooth_app/android

- name: Version
run: echo ${{ env.RELEASE_VERSION }}
run: echo ${{ env.VERSION_NAME }}

- name: Tag commit
uses: rickstaa/action-create-tag@v1
with:
tag: ${{ env.RELEASE_VERSION }}
message: "Release: ${{ env.RELEASE_VERSION }}"
tag: ${{ env.VERSION_NAME }}
message: "Release: ${{ env.VERSION_NAME }}+${{ env.OLD_VERSION_CODE }} (+1)"

- name: Set output
id: set_output
Expand All @@ -77,10 +77,10 @@ jobs:
secrets:
API_JSON_FILE_DECRYPTKEY: ${{secrets.API_JSON_FILE_DECRYPTKEY }}
DECRYPT_GPG_KEYSTORE: ${{secrets.DECRYPT_GPG_KEYSTORE }}
STORE_JKS_DECRYPTKEY: ${{secrets.STORE_JKS_DECRYPTKEY }}
SIGN_STORE_PASSWORD: ${{secrets.SIGN_STORE_PASSWORD }}
SIGN_KEY_ALIAS: ${{secrets.SIGN_KEY_ALIAS }}
SIGN_KEY_PASSWORD: ${{secrets.SIGN_KEY_PASSWORD }}
STORE_JKS_DECRYPTKEY: ${{secrets.NEW_CYPHER }}
SIGN_STORE_PASSWORD: ${{secrets.DECRYPT_FOR_SCANNER_FILE }}
SIGN_KEY_ALIAS: ${{secrets.ALIAS_FOR_SCANNER }}
SIGN_KEY_PASSWORD: ${{secrets.KEY_FOR_SCANNER }}

iOS-release:
uses: openfoodfacts/smooth-app/.github/workflows/ios-release-to-org-openfoodfacts-scanner.yml@develop
Expand All @@ -101,3 +101,4 @@ jobs:
PILOT_APPLE_ID: ${{secrets.PILOT_APPLE_ID }}
SPACESHIP_CONNECT_API_ISSUER_ID: ${{secrets.SPACESHIP_CONNECT_API_ISSUER_ID }}
SPACESHIP_CONNECT_API_KEY_ID: ${{secrets.SPACESHIP_CONNECT_API_KEY_ID }}
AUTH_KEY_FILE_DECRYPTKEY: ${{ secrets.AUTH_KEY_FILE_DECRYPTKEY }}

0 comments on commit 5399834

Please sign in to comment.