mirror of
https://github.com/we-promise/sure.git
synced 2026-05-10 14:15:01 +00:00
Fix Google Play workflow reuse and track input
This commit is contained in:
19
.github/workflows/google-play-upload.yml
vendored
19
.github/workflows/google-play-upload.yml
vendored
@@ -1,17 +1,6 @@
|
||||
name: Google Play Upload
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
notes:
|
||||
description: "Google Play release notes"
|
||||
required: false
|
||||
type: string
|
||||
track:
|
||||
description: "Google Play track (internal, alpha, beta, production)"
|
||||
required: false
|
||||
default: "internal"
|
||||
type: string
|
||||
workflow_call:
|
||||
inputs:
|
||||
notes:
|
||||
@@ -23,9 +12,9 @@ on:
|
||||
required: false
|
||||
default: "internal"
|
||||
type: string
|
||||
push:
|
||||
tags:
|
||||
- 'android-v*'
|
||||
secrets:
|
||||
GOOGLE_PLAY_SERVICE_ACCOUNT_JSON_BASE64:
|
||||
required: false
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
@@ -112,6 +101,6 @@ jobs:
|
||||
serviceAccountJson: ${{ steps.play_creds.outputs.credentials-path }}
|
||||
packageName: am.sure.mobile
|
||||
releaseFiles: ${{ steps.aab.outputs.aab-path }}
|
||||
track: ${{ inputs.track || 'internal' }}
|
||||
tracks: ${{ inputs.track }}
|
||||
status: completed
|
||||
whatsNewDirectory: ${{ steps.notes.outputs.notes-dir }}
|
||||
|
||||
Reference in New Issue
Block a user