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

ci: Play Store Upload of changelogs #78

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
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
34 changes: 34 additions & 0 deletions .github/workflows/android-changelog-upload.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Upload Fastlane Changelog for Android
on:
push:
branches:
- 'upload-changelog-to-playstore'
jobs:
marketing:
runs-on: ubuntu-latest
steps:
# required to run on Linux because this is a docker container action
- name: Checkout
uses: actions/checkout@v3
# - 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.
- name: Decrypt API JSON file
run: cd ./fastlane/envfiles && chmod +x ./decrypt_secrets.sh && ./decrypt_secrets.sh
env:
API_JSON_FILE_DECRYPTKEY: ${{ secrets.API_JSON_FILE_DECRYPTKE }}
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: 3.0.2
- name: Play Store Upload of changelogs
if: github.repository == 'openfoodfacts/fastlane-descriptions-smoothie'
timeout-minutes: 10
run: pwd && cd ./fastlane/ && bundle install && bundle exec fastlane deploy_changelog
teolemon marked this conversation as resolved.
Show resolved Hide resolved
- name: Cleanup
if: ${{ always() }}
run: rm -f service-account-key.json