docs: add example using glob
This commit is contained in:
14
README.md
14
README.md
@@ -102,3 +102,17 @@ with:
|
||||
whatsNewDirectory: distribution/whatsnew
|
||||
mappingFile: app/build/outputs/mapping/release/mapping.txt
|
||||
```
|
||||
|
||||
Using glob to get release files
|
||||
```yaml
|
||||
uses: r0adkll/upload-google-play@v1
|
||||
with:
|
||||
serviceAccountJson: ${{ SERVICE_ACCOUNT_JSON }}
|
||||
packageName: com.example.MyApp
|
||||
releaseFiles: app/build/outputs/bundle/release/*.aab
|
||||
track: production
|
||||
inAppUpdatePriority: 2
|
||||
userFraction: 0.33
|
||||
whatsNewDirectory: distribution/whatsnew
|
||||
mappingFile: app/build/outputs/mapping/release/mapping.txt
|
||||
```
|
||||
|
||||
16
action.yml
16
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"
|
||||
@@ -25,11 +25,11 @@ inputs:
|
||||
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