Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Upload Smoothie's metadata to Google PlayStore #3

Merged
merged 59 commits into from
May 8, 2022
Merged
Changes from 5 commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
ce984e2
Upload metadata to PlayStore
teolemon Oct 15, 2021
24f4b8b
Update validate-metadata.yml
teolemon Jan 23, 2022
304ebcc
Update validate-metadata.yml
teolemon Jan 23, 2022
9fe5a4f
Update validate-metadata.yml
teolemon Jan 23, 2022
352712d
Update validate-metadata.yml
teolemon Jan 23, 2022
f36c9d5
Update validate-metadata.yml
teolemon Jan 23, 2022
78f8cc4
Update validate-metadata.yml
teolemon Jan 23, 2022
5fce9eb
Update validate-metadata.yml
teolemon Jan 23, 2022
4e94914
Update title.txt
teolemon Jan 23, 2022
e308292
Rename long_description.txt to full_description.txt
teolemon Jan 23, 2022
c0fb5ab
fixes
teolemon Jan 23, 2022
56b3d1b
fixes
teolemon Jan 23, 2022
4923e2d
envfiles
teolemon Jan 23, 2022
4826ce7
Update validate-metadata.yml
teolemon Jan 23, 2022
a82a9f1
Update validate-metadata.yml
teolemon Jan 23, 2022
5155267
Update decrypt_secrets.sh
teolemon Jan 23, 2022
6b0fcf4
Merge branch 'upload-to-playstore' of https://github.com/openfoodfact…
teolemon Jan 23, 2022
b9963db
Update validate-metadata.yml
teolemon Jan 23, 2022
9bb34b3
Update validate-metadata.yml
teolemon Jan 23, 2022
09480c4
Update validate-metadata.yml
teolemon Jan 23, 2022
9159501
Update validate-metadata.yml
teolemon Jan 23, 2022
480656b
Create Appfile
teolemon Jan 23, 2022
fd75066
Update validate-metadata.yml
teolemon Jan 23, 2022
7b54f15
Update validate-metadata.yml
teolemon Jan 23, 2022
95d4ac4
Update validate-metadata.yml
teolemon Jan 23, 2022
76e8fb3
Update validate-metadata.yml
teolemon Jan 23, 2022
4c62570
add fastlane
teolemon Jan 23, 2022
a2d7ed2
Update validate-metadata.yml
teolemon Jan 23, 2022
0dcf4af
Update validate-metadata.yml
teolemon Jan 23, 2022
204bc00
gem
teolemon Jan 23, 2022
cad44d6
Merge branch 'upload-to-playstore' of https://github.com/openfoodfact…
teolemon Jan 23, 2022
2bca4af
move
teolemon Jan 23, 2022
49f63ec
Update validate-metadata.yml
teolemon Jan 23, 2022
9c04dab
Update validate-metadata.yml
teolemon Jan 23, 2022
03b1ae9
Update validate-metadata.yml
teolemon Jan 23, 2022
0b21b47
fix
teolemon Jan 23, 2022
6ae8089
Merge branch 'upload-to-playstore' of https://github.com/openfoodfact…
teolemon Jan 23, 2022
e6fdba4
Update validate-metadata.yml
teolemon Jan 23, 2022
f141e8d
Merge branch 'upload-to-playstore' of https://github.com/openfoodfact…
teolemon Jan 23, 2022
ae685f7
Update validate-metadata.yml
teolemon Jan 23, 2022
c096177
Update validate-metadata.yml
teolemon Jan 23, 2022
0b99573
Update validate-metadata.yml
teolemon Jan 23, 2022
d9f4588
Update 1.png
teolemon Jan 23, 2022
9be3a52
Merge branch 'upload-to-playstore' of https://github.com/openfoodfact…
teolemon Jan 23, 2022
eb7398b
Merge branch 'main' into upload-to-playstore
teolemon Mar 17, 2022
d9e2d6e
Rename validate-metadata.yml to upload-metadata-to-playstore.yml
teolemon Mar 17, 2022
b4d45ec
Rename upload-metadata-to-playstore.yml to android-upload.yml
teolemon Mar 17, 2022
7049514
Update Appfile
teolemon May 8, 2022
bcc6c47
make android compatible with iOS
teolemon May 8, 2022
e77577d
make ios compatible with the ios pr
teolemon May 8, 2022
43eeb87
Merge branch 'upload-to-playstore' of https://github.com/openfoodfact…
teolemon May 8, 2022
9816e06
Apply suggestions from code review
teolemon May 8, 2022
9bcb324
Update .github/workflows/android-upload.yml
teolemon May 8, 2022
9bd330f
Update Appfile
teolemon May 8, 2022
4a6ee6a
Apply suggestions from code review
teolemon May 8, 2022
2c11d28
Create validate-metadata.yml
teolemon May 8, 2022
9283590
Apply suggestions from code review
teolemon May 8, 2022
aee9861
fix location
teolemon May 8, 2022
b28a2d7
Merge branch 'upload-to-playstore' of https://github.com/openfoodfact…
teolemon May 8, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 32 additions & 11 deletions .github/workflows/validate-metadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,37 @@ name: Fastlane Metadata
on:
teolemon marked this conversation as resolved.
Show resolved Hide resolved
push:
branches:
- main
- 'upload-to-playstore'
jobs:
validate:
- name: Decrypt API JSON file
runs-on: ubuntu-latest
run: cd ./packages/smooth_app/android/fastlane/envfiles && chmod +x ./decrypt_secrets.sh && ./decrypt_secrets.sh
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs to be changed

env:
API_JSON_FILE_DECRYPTKEY: ${{ secrets.API_JSON_FILE_DECRYPTKEY }}
STORE_JKS_DECRYPTKEY: ${{ secrets.STORE_JKS_DECRYPTKEY }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lets put the validation before the encryption

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

# 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.
- 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.
- name: Play Store Upload
needs: validate
if: github.repository == 'openfoodfacts/fastlane-descriptions-smoothie'
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
- run: echo "$API_JSON_FILE_DECRYPTKEY" > service-account-key.json
env:
SERVICE_ACCOUNT_KEY: ${{ secrets.SERVICE_ACCOUNT_KEY }}
- run: bundle install && bundle exec fastlane upload_metadata
- if: ${{ always() }}
run: rm -f service-account-key.json