docs: update readme
This commit is contained in:
16
README.md
16
README.md
@@ -19,13 +19,13 @@ The service account json in plain text, provided via a secret, etc.
|
||||
**Required:** The package name, or Application Id, of the app you are uploading
|
||||
|
||||
### `releaseFile`
|
||||
**DEPRECATED:** Please switch to using `releaseFiles` as this will be removed in the future
|
||||
The Android release file to upload (.apk or .aab)
|
||||
**DEPRECATED:** Please switch to using `releaseFiles` as this will be removed in the future
|
||||
The Android release file to upload (.apk or .aab)
|
||||
|
||||
### `releaseFiles`
|
||||
**CAVEAT:** Either this or `releaseFile` are required
|
||||
**CAVEAT:** Either this or `releaseFile` are required
|
||||
|
||||
The Android release file(s) to upload (.apk or .aab). Multiple files are separated by ','.
|
||||
The Android release file(s) to upload (.apk or .aab). Multiple files are separated by ','. Supports glob.
|
||||
|
||||
### `releaseName`
|
||||
|
||||
@@ -33,15 +33,15 @@ The release name. Not required to be unique. If not set, the name is generated f
|
||||
|
||||
### `track`
|
||||
|
||||
**Required:** The track in which you want to assign the uploaded app.
|
||||
**Default:** `production`
|
||||
**Required:** The track in which you want to assign the uploaded app.
|
||||
**Default:** `production`
|
||||
_Values:_ `alpha`, `beta`, `internal`, `production`, `internalsharing`
|
||||
|
||||
### `inAppUpdatePriority`
|
||||
|
||||
In-app update priority of the release. All newly added APKs in the release will be considered at this priority. Can take values in the range [0, 5], with 5 the highest priority.
|
||||
|
||||
**Default:** `0`
|
||||
**Default:** `0`
|
||||
_Values:_ `[0, 5]`
|
||||
|
||||
### `userFraction`
|
||||
@@ -53,7 +53,7 @@ Portion of users who should get the staged version of the app. Accepts values be
|
||||
The directory of localized whats new files to upload as the release notes. The files contained in the `whatsNewDirectory` MUST use the pattern `whatsnew-<LOCALE>` where `LOCALE` is using the [`BCP 47`](https://tools.ietf.org/html/bcp47) format, e.g.
|
||||
* `en-US` - English/America
|
||||
* `de-DE` - German/Germany
|
||||
* `ja-JP` - Japanese/Japan
|
||||
* `ja-JP` - Japanese/Japan
|
||||
|
||||
and contain plain `utf8` encoded text with no extension on the file. The resulting directory in your project should look something like this:
|
||||
```
|
||||
|
||||
18
action.yml
18
action.yml
@@ -1,9 +1,9 @@
|
||||
name: 'Upload Android Release to Play Store'
|
||||
name: "Upload Android Release to Play Store"
|
||||
description: "An action to upload a signed Android release (.apk or .aab) to the Google Play Store Developer Console"
|
||||
author: 'r0adkll'
|
||||
author: "r0adkll"
|
||||
branding:
|
||||
icon: 'truck'
|
||||
color: 'orange'
|
||||
icon: "truck"
|
||||
color: "orange"
|
||||
inputs:
|
||||
serviceAccountJson:
|
||||
description: "The service account json private key file to authorize the upload request"
|
||||
@@ -18,18 +18,18 @@ inputs:
|
||||
description: "The Android release file to upload (.apk or .aab)"
|
||||
required: false
|
||||
releaseFiles:
|
||||
description: "The Android release file(s) to upload (.apk or .aab). Separated by a ',' for multiple artifacts"
|
||||
description: "The Android release file(s) to upload (.apk or .aab). Separated by a ',' for multiple artifacts. Supports glob"
|
||||
required: false
|
||||
releaseName:
|
||||
description: "The name of this release. If not set it's generated automatically from the APKs versionName"
|
||||
required: false
|
||||
track:
|
||||
description: "The track in which you want to assign the uploaded app."
|
||||
default: 'production'
|
||||
default: "production"
|
||||
required: true
|
||||
inAppUpdatePriority:
|
||||
description: "In-app update priority of the release. All newly added APKs in the release will be considered at this priority. Can take values in the range [0, 5], with 5 the highest priority. Defaults to 0."
|
||||
default: '0'
|
||||
default: "0"
|
||||
required: false
|
||||
userFraction:
|
||||
description: "Portion of users who should get the staged version of the app. Accepts values between 0.0 and 1.0 (exclusive-exclusive)."
|
||||
@@ -44,5 +44,5 @@ outputs:
|
||||
internalSharingDownloadUrl:
|
||||
description: "The internal app sharing download url if track was 'internalsharing'"
|
||||
runs:
|
||||
using: 'node12'
|
||||
main: 'lib/main.js'
|
||||
using: "node12"
|
||||
main: "lib/main.js"
|
||||
|
||||
Reference in New Issue
Block a user