11 Commits

Author SHA1 Message Date
Dave Olsthoorn
72fdd2e74f Update build after dependabot updates 2020-11-06 17:10:32 +01:00
dependabot[bot]
e8ff59719d Bump actions/setup-node from v2.1.1 to v2.1.2
Bumps [actions/setup-node](https://github.com/actions/setup-node) from v2.1.1 to v2.1.2.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.1.1...c6fd00ceb9747fb23ffdf72987450a2664414867)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-06 17:08:15 +01:00
dependabot[bot]
f373a0666c Bump typescript from 3.9.7 to 4.0.5
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.9.7 to 4.0.5.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v3.9.7...v4.0.5)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-06 17:07:47 +01:00
dependabot[bot]
e5615156f4 Bump jest-circus from 26.6.1 to 26.6.3
Bumps [jest-circus](https://github.com/facebook/jest/tree/HEAD/packages/jest-circus) from 26.6.1 to 26.6.3.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v26.6.3/packages/jest-circus)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-06 17:07:40 +01:00
dependabot[bot]
943107c4e9 Bump @typescript-eslint/parser from 3.10.1 to 4.6.1
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 3.10.1 to 4.6.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.6.1/packages/parser)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-06 17:07:40 +01:00
Brian Ballsun-Stanton
9ee0d8a034 bumped package lock for 1.2.6 and made sure to output hardcoded commandline tools version 2020-11-06 16:50:43 +01:00
Brian Ballsun-Stanton
d7b9d01c78 recompile, update android version 2020-11-06 16:50:43 +01:00
dependabot[bot]
b5b08e0aee Bump @actions/core from 1.2.4 to 1.2.6
Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.2.4 to 1.2.6.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-06 12:11:55 +02:00
Axel Navarro
61b92998bb Fix setup-android version in README.md 2020-09-15 17:47:48 +02:00
dependabot[bot]
3496691692 Bump node-fetch from 2.6.0 to 2.6.1
Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-15 17:47:15 +02:00
Dave Olsthoorn
331008df41 Fix test for download, only test if licenseDir exists 2020-08-26 18:51:04 +02:00
6 changed files with 872 additions and 572 deletions

View File

@@ -18,7 +18,7 @@ jobs:
- uses: actions/checkout@v2
- name: Setup node 12
uses: actions/setup-node@v2.1.1
uses: actions/setup-node@v2.1.2
with:
node-version: '12'
@@ -32,7 +32,7 @@ jobs:
- uses: actions/checkout@v2
- name: Setup node 12
uses: actions/setup-node@v2.1.1
uses: actions/setup-node@v2.1.2
with:
node-version: '12'
@@ -46,7 +46,7 @@ jobs:
- uses: actions/checkout@v2
- name: Setup node 12
uses: actions/setup-node@v2.1.1
uses: actions/setup-node@v2.1.2
with:
node-version: '12'
@@ -60,7 +60,7 @@ jobs:
- uses: actions/checkout@v2
- name: Setup node 12
uses: actions/setup-node@v2.1.1
uses: actions/setup-node@v2.1.2
with:
node-version: '12'

View File

@@ -22,7 +22,7 @@ steps:
java-version: 1.8
- name: Setup Android SDK
uses: android-actions/setup-android@v1
uses: android-actions/setup-android@v2
- name: Build SampleApplication
run: ./gradlew --no-daemon build

2
dist/index.js vendored

File diff suppressed because one or more lines are too long

1407
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -25,23 +25,23 @@
"author": "daveol",
"license": "ISC",
"dependencies": {
"@actions/cache": "^1.0.2",
"@actions/core": "^1.2.0",
"@actions/cache": "^1.0.3",
"@actions/core": "^1.2.6",
"@actions/tool-cache": "^1.6.0"
},
"devDependencies": {
"@types/jest": "^26.0.10",
"@types/node": "^14.6.0",
"@typescript-eslint/parser": "^3.9.1",
"@types/jest": "^26.0.15",
"@types/node": "^14.14.6",
"@typescript-eslint/parser": "^4.6.1",
"@zeit/ncc": "^0.22.3",
"eslint": "^7.7.0",
"eslint": "^7.12.1",
"eslint-plugin-github": "^4.1.1",
"eslint-plugin-jest": "^23.20.0",
"jest": "^24.9.0",
"jest-circus": "^26.4.0",
"jest-circus": "^26.6.3",
"js-yaml": "^3.13.1",
"prettier": "^2.0.5",
"prettier": "^2.1.2",
"ts-jest": "^24.2.0",
"typescript": "^3.9.7"
"typescript": "^4.0.5"
}
}

View File

@@ -5,7 +5,8 @@ import * as path from 'path'
import * as fs from 'fs'
import * as os from 'os'
const COMMANDLINE_TOOLS_VERSION = '6609375'
const COMMANDLINE_TOOLS_VERSION = '6858069'
const COMMANDLINE_TOOLS_WIN_URL = `https://dl.google.com/android/repository/commandlinetools-win-${COMMANDLINE_TOOLS_VERSION}_latest.zip`
const COMMANDLINE_TOOLS_MAC_URL = `https://dl.google.com/android/repository/commandlinetools-mac-${COMMANDLINE_TOOLS_VERSION}_latest.zip`
const COMMANDLINE_TOOLS_LIN_URL = `https://dl.google.com/android/repository/commandlinetools-linux-${COMMANDLINE_TOOLS_VERSION}_latest.zip`
@@ -21,7 +22,7 @@ async function install(): Promise<string> {
const licenseDir = path.join(ANDROID_SDK_ROOT, 'licenses')
// If the licences exist, the rest does too
if (fs.existsSync(licenseDir) && fs.existsSync(ANDROID_REPOSITORIES_CFG)) {
if (fs.existsSync(licenseDir)) {
core.debug(`Skipping install, licenseDir found: ${licenseDir}`)
return ANDROID_SDK_ROOT
}
@@ -66,7 +67,7 @@ async function install(): Promise<string> {
async function run(): Promise<void> {
const ANDROID_SDK_ROOT = await install()
core.setOutput('ANDROID_COMMANDLINE_TOOLS_VERSION', COMMANDLINE_TOOLS_VERSION)
core.exportVariable('ANDROID_HOME', ANDROID_SDK_ROOT)
core.exportVariable('ANDROID_SDK_ROOT', ANDROID_SDK_ROOT)