Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
935ef9c68b | ||
|
|
84ffa89623 | ||
|
|
b6837fa35c | ||
|
|
7c9dfbb03e |
2
.github/workflows/pr-validation.yml
vendored
2
.github/workflows/pr-validation.yml
vendored
@@ -28,7 +28,7 @@ jobs:
|
|||||||
|
|
||||||
# Check whether the compiled library changed
|
# Check whether the compiled library changed
|
||||||
- name: Check Build Updated
|
- name: Check Build Updated
|
||||||
uses: tj-actions/verify-changed-files@v9.2
|
uses: tj-actions/verify-changed-files@v17
|
||||||
id: verify-built-lib
|
id: verify-built-lib
|
||||||
with:
|
with:
|
||||||
files: lib/index.js
|
files: lib/index.js
|
||||||
|
|||||||
14
README.md
14
README.md
@@ -48,6 +48,20 @@ with:
|
|||||||
debugSymbols: app/intermediates/merged_native_libs/release/out/lib
|
debugSymbols: app/intermediates/merged_native_libs/release/out/lib
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Configure service account
|
||||||
|
1. Configure service account in Google Cloud Platform
|
||||||
|
1. Navigate to https://cloud.google.com/gcp
|
||||||
|
1. Open IAM and admin > Service accounts > Create service account
|
||||||
|
1. Pick a name and add appropriate permissions (e.g. 'owner)
|
||||||
|
1. Open the newly created service account, click on `keys` tab and add a new key, JSON type
|
||||||
|
1. When successful, a JSON file will be automatically downloaded on your machine
|
||||||
|
1. Store the content of this file to your GitHub secrets, e.g. SERVICE_ACCOUNT_JSON.
|
||||||
|
1. Add user to Google Play Console
|
||||||
|
1. Open https://play.google.com/console and pick your developer account
|
||||||
|
1. Open Users and permissions
|
||||||
|
1. Click invite new user and add the email of the service account created in the previous step
|
||||||
|
1. Grant permissions to the app that you want the service account to deploy in `app permissions`
|
||||||
|
|
||||||
## FAQ
|
## FAQ
|
||||||
### I get the error "Package not found"
|
### I get the error "Package not found"
|
||||||
Make sure you upload an apk or aab manually first by creating a release through the play console.
|
Make sure you upload an apk or aab manually first by creating a release through the play console.
|
||||||
|
|||||||
@@ -58,5 +58,5 @@ outputs:
|
|||||||
internalSharingDownloadUrl:
|
internalSharingDownloadUrl:
|
||||||
description: "The internal app sharing download url if track was 'internalsharing'"
|
description: "The internal app sharing download url if track was 'internalsharing'"
|
||||||
runs:
|
runs:
|
||||||
using: 'node16'
|
using: 'node20'
|
||||||
main: 'lib/index.js'
|
main: 'lib/index.js'
|
||||||
|
|||||||
10
lib/index.js
10
lib/index.js
File diff suppressed because one or more lines are too long
843
package-lock.json
generated
843
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
24
package.json
24
package.json
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "upload-google-play",
|
"name": "upload-google-play",
|
||||||
"version": "1.1.2",
|
"version": "1.1.3",
|
||||||
"private": true,
|
"private": true,
|
||||||
"description": "Upload an Android release (.apk or .aab) to Google Play Console",
|
"description": "Upload an Android release (.apk or .aab) to Google Play Console",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
@@ -21,21 +21,21 @@
|
|||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@actions/core": "^1.10.1",
|
"@actions/core": "^1.10.1",
|
||||||
"@googleapis/androidpublisher": "^8.4.0",
|
"@googleapis/androidpublisher": "^12.1.0",
|
||||||
"fast-glob": "^3.3.1",
|
"fast-glob": "^3.3.2",
|
||||||
"jszip": "^3.10.1",
|
"jszip": "^3.10.1",
|
||||||
"p-timeout": "^6.1.2"
|
"p-timeout": "^6.1.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/jest": "^29.5.5",
|
"@types/jest": "^29.5.12",
|
||||||
"@types/node": "^20.6.2",
|
"@types/node": "^20.11.17",
|
||||||
"@typescript-eslint/eslint-plugin": "^6.7.0",
|
"@typescript-eslint/eslint-plugin": "^6.21.0",
|
||||||
"@typescript-eslint/parser": "^6.7.0",
|
"@typescript-eslint/parser": "^6.21.0",
|
||||||
"@vercel/ncc": "^0.38.0",
|
"@vercel/ncc": "^0.38.1",
|
||||||
"eslint": "^8.49.0",
|
"eslint": "^8.56.0",
|
||||||
"github-action-ts-run-api": "^3.0.3",
|
"github-action-ts-run-api": "^3.0.4",
|
||||||
"jest": "^29.7.0",
|
"jest": "^29.7.0",
|
||||||
"ts-jest": "^29.1.1",
|
"ts-jest": "^29.1.2",
|
||||||
"typescript": "^5.2.2"
|
"typescript": "^5.3.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user