Skip to content

Commit

Permalink
Merge branch 'upload-to-playstore' of https://github.com/openfoodfact…
Browse files Browse the repository at this point in the history
…s/fastlane-descriptions-smoothie into upload-to-playstore
  • Loading branch information
teolemon committed May 8, 2022
2 parents aee9861 + 9283590 commit b28a2d7
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 11 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/android-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ jobs:
# required to run on Linux because this is a docker container action
- name: Checkout
uses: actions/checkout@v1
- name: Validate metadata
uses: ashutoshgngwr/validate-fastlane-supply-metadata@v1
with:
fastlaneDir: ./fastlane # optional. default is './fastlane'.
# - name: Validate metadata
#uses: ashutoshgngwr/validate-fastlane-supply-metadata@v1
# with:
# fastlaneDir: ./fastlane/metadata-android # optional. default is './fastlane'.
# enable check to validate if a locale is supported by the Play Store Listing.
usePlayStoreLocales: true # optional. default is false.
# usePlayStoreLocales: true # optional. default is false.
- name: Decrypt API JSON file
run: cd ./fastlane/envfiles && chmod +x ./decrypt_secrets.sh && ./decrypt_secrets.sh
env:
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/validate-metadata.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Fastlane Metadata
on:
push:
branches:
- main
jobs:
validate:
# required to run on Linux because this is a docker container action
name: validate
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: ashutoshgngwr/validate-fastlane-supply-metadata@v1
with:
fastlaneDir: ./fastlane # optional. default is './fastlane'.
# enable check to validate if a locale is supported by the Play Store Listing.
usePlayStoreLocales: true # optional. default is false.
1 change: 0 additions & 1 deletion fastlane/Appfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# Android
json_key_file(ENV['GOOGLE_PLAY_JSON_PATH'] || 'fastlane/envfiles/api-4712693179220384697-162836-33ea08672303.json')
package_name(ENV['PACKAGE_NAME'] || "org.openfoodfacts.app")
metadata_path "./fastlane/metadata-android"
6 changes: 1 addition & 5 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ platform :android do
lane :deploy_marketing do
begin
upload_to_play_store(
metadata_path: "./fastlane/metadata-android",
skip_upload_metadata: false,
skip_upload_images: false,
skip_upload_screenshots: false,
Expand All @@ -31,8 +32,3 @@ platform :android do


end





0 comments on commit b28a2d7

Please sign in to comment.