mirror of
https://github.com/getpaseo/paseo.git
synced 2026-11-03 23:23:21 +00:00
supply uploads every locale folder under fastlane/metadata/android in one
edit. Play rejects the F-Droid-only ja locale, which failed the whole edit in
the 0.14.0 release ("ja - Invalid request"), so no screenshots were replaced.
Stage only the en-US images, add a standalone workflow to rerun the upload for
the current release, and document the App Store associatedErrors gotcha.
28 lines
921 B
YAML
28 lines
921 B
YAML
name: Upload Google Play screenshots
|
|
|
|
# Standalone re-trigger for the release workflow's Google Play screenshot step.
|
|
# Replaces the en-US phone and tablet screenshots with the committed renders,
|
|
# without rebuilding or resubmitting the app.
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
android_version_code:
|
|
type: string
|
|
required: false
|
|
description: "versionCode of the production release to attach the change to, e.g. 14000. Leave empty when the production track has a single release."
|
|
|
|
jobs:
|
|
upload_android_screenshots:
|
|
name: Upload Google Play screenshots
|
|
environment: production
|
|
runs_on: macos-medium
|
|
steps:
|
|
- uses: eas/checkout
|
|
- name: Install fastlane
|
|
run: bundle install
|
|
- name: Upload screenshots
|
|
run: |
|
|
export ANDROID_VERSION_CODE="${{ inputs.android_version_code }}"
|
|
bundle exec fastlane android upload_screenshots
|