4 Commits

Author SHA1 Message Date
Jack Boswell
935ef9c68b Update dependencies & target node20 (#212)
* Update dependencies & target Node 20

* Bump version
2024-02-10 00:01:23 +13:00
dependabot[bot]
84ffa89623 Bump tj-actions/verify-changed-files in /.github/workflows (#206)
Bumps [tj-actions/verify-changed-files](https://github.com/tj-actions/verify-changed-files) from 9.2 to 17.
- [Release notes](https://github.com/tj-actions/verify-changed-files/releases)
- [Changelog](https://github.com/tj-actions/verify-changed-files/blob/main/HISTORY.md)
- [Commits](https://github.com/tj-actions/verify-changed-files/compare/v9.2...v17)

---
updated-dependencies:
- dependency-name: tj-actions/verify-changed-files
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-03 11:18:09 +13:00
Emil Tabakov
b6837fa35c Add instructions to configure service account in README (#201) 2023-11-13 22:57:13 +13:00
dependabot[bot]
7c9dfbb03e Bump @babel/traverse from 7.19.6 to 7.23.2 (#198)
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.19.6 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-19 11:57:55 +13:00
6 changed files with 560 additions and 335 deletions

View File

@@ -28,7 +28,7 @@ jobs:
# Check whether the compiled library changed
- name: Check Build Updated
uses: tj-actions/verify-changed-files@v9.2
uses: tj-actions/verify-changed-files@v17
id: verify-built-lib
with:
files: lib/index.js

View File

@@ -48,6 +48,20 @@ with:
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
### 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.

View File

@@ -58,5 +58,5 @@ outputs:
internalSharingDownloadUrl:
description: "The internal app sharing download url if track was 'internalsharing'"
runs:
using: 'node16'
using: 'node20'
main: 'lib/index.js'

File diff suppressed because one or more lines are too long

843
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
{
"name": "upload-google-play",
"version": "1.1.2",
"version": "1.1.3",
"private": true,
"description": "Upload an Android release (.apk or .aab) to Google Play Console",
"main": "lib/index.js",
@@ -21,21 +21,21 @@
"license": "MIT",
"dependencies": {
"@actions/core": "^1.10.1",
"@googleapis/androidpublisher": "^8.4.0",
"fast-glob": "^3.3.1",
"@googleapis/androidpublisher": "^12.1.0",
"fast-glob": "^3.3.2",
"jszip": "^3.10.1",
"p-timeout": "^6.1.2"
},
"devDependencies": {
"@types/jest": "^29.5.5",
"@types/node": "^20.6.2",
"@typescript-eslint/eslint-plugin": "^6.7.0",
"@typescript-eslint/parser": "^6.7.0",
"@vercel/ncc": "^0.38.0",
"eslint": "^8.49.0",
"github-action-ts-run-api": "^3.0.3",
"@types/jest": "^29.5.12",
"@types/node": "^20.11.17",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"@vercel/ncc": "^0.38.1",
"eslint": "^8.56.0",
"github-action-ts-run-api": "^3.0.4",
"jest": "^29.7.0",
"ts-jest": "^29.1.1",
"typescript": "^5.2.2"
"ts-jest": "^29.1.2",
"typescript": "^5.3.3"
}
}