-
-
Notifications
You must be signed in to change notification settings - Fork 279
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into 770/product-brands-commas
- Loading branch information
Showing
142 changed files
with
4,114 additions
and
1,859 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,18 @@ on: | |
VERSION_CODE: | ||
required: true | ||
type: string | ||
# 'PLAY' or | ||
# 'GITHUB' (requires [RELEASE_TAG] for the gh release to push to) | ||
RELEASE_TYPE: | ||
required: true | ||
type: string | ||
# 'apk' or 'appbundle' | ||
BUILD_TYPE: | ||
required: true | ||
type: string | ||
TAG_NAME: | ||
required: false | ||
type: string | ||
secrets: | ||
API_JSON_FILE_DECRYPTKEY: | ||
required: true | ||
|
@@ -82,16 +94,27 @@ jobs: | |
VERSION_NAME: ${{ inputs.VERSION_NAME }} | ||
VERSION_CODE: ${{ inputs.VERSION_CODE }} | ||
|
||
- name: Build AAB | ||
run: echo $SIGN_STORE_PATH && pwd && cd ./packages/smooth_app/ && pwd && flutter build appbundle --release | ||
- name: Build app | ||
run: echo $SIGN_STORE_PATH && pwd && cd ./packages/smooth_app/ && pwd && flutter build ${{ github.event.inputs.BUILD_TYPE }} --release | ||
env: | ||
SIGN_STORE_PATH: ./../fastlane/envfiles/keystore.jks | ||
SIGN_STORE_PASSWORD: ${{ secrets.SIGN_STORE_PASSWORD }} | ||
SIGN_KEY_ALIAS: ${{ secrets.SIGN_KEY_ALIAS }} | ||
SIGN_KEY_PASSWORD: ${{ secrets.SIGN_KEY_PASSWORD }} | ||
|
||
- name: Upload binaries to release | ||
uses: svenstaro/upload-release-action@v2 | ||
if: github.event.inputs.RELEASE_TYPE == 'GITHUB' && github.event.inputs.BUILD_TYPE == 'apk' && github.event.inputs.TAG_NAME != '' | ||
continue-on-error: true | ||
with: | ||
file: ./packages/smooth_app/build/app/outputs/flutter-apk/app-release.apk | ||
asset_name: android-release-${{ inputs.TAG_NAME }}.apk | ||
tag: ${{ inputs.TAG_NAME }} | ||
overwrite: true | ||
|
||
- name: Release AAB | ||
uses: maierj/[email protected] | ||
if: github.event.inputs.RELEASE_TYPE == 'PLAY' && github.event.inputs.BUILD_TYPE == 'appbundle' | ||
with: | ||
lane: release | ||
subdirectory: packages/smooth_app/android | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ on: | |
|
||
jobs: | ||
update-assets: | ||
if: github.owner == openfoodfacts | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
|
Empty file.
Oops, something went wrong.