Skip to content

Commit

Permalink
docs: add example using glob
Browse files Browse the repository at this point in the history
  • Loading branch information
DiogoAbu committed Mar 17, 2021
1 parent 0531643 commit c6ef6b1
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 8 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 8 additions & 8 deletions action.yml
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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)."
Expand All @@ -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'

0 comments on commit c6ef6b1

Please sign in to comment.