Commit graph

98 commits

Author SHA1 Message Date
Laura Bailey
46eab8f218 Trying this 2021-03-02 14:47:42 +11:00
Vilius Sutkus '89
0bdb2caf82
[issue #108] Remove zip extraction leftovers 2021-03-02 03:05:42 +02:00
Vilius Sutkus '89
6989f50c81 Rebuild dist/index.js 2021-02-20 23:06:23 +01:00
Vilius Sutkus '89
9ab2660a79 Add @types/fs-extra dev dependency 2021-02-20 23:06:23 +01:00
Vilius Sutkus '89
cc38275357 Un-whitespace ANDROID_SDK_ROOT
sdkmanager doesn't like spaces in it's path.
Move the whole SDK to a place without spaces.
2021-02-20 23:03:41 +01:00
Vilius Sutkus '89
999dabf39c Use fs-extra.moveSync instead of fs.renameSync to move cmdline-tools
fs.renameSync can't rename across drives.
2021-02-20 23:03:41 +01:00
Vilius Sutkus '89
6bde8445cd Call sdkmanager, not .bat on windows too, it just works 2021-02-20 23:03:41 +01:00
Vilius Sutkus '89
1edf194eee Actually try to install sdkmanager after each commit 2021-02-20 23:03:41 +01:00
Vilius Sutkus '89
8c02e1fcfa Update run.yml to run sdkmanager after each update 2021-02-20 23:03:41 +01:00
Vilius Sutkus '89
87280a34d4 Check if sdkManager is actually available
GitHub Actions have Android-SDK preinstalled, but there's no sdkmanager.
Missing sdkmanager means no additional packages can be easily installed by dowsntream users.
2021-02-20 23:03:41 +01:00
Dave Olsthoorn
e3e9dc9b68 update dependencies 2021-02-20 22:53:11 +01:00
dependabot[bot]
fb95bc1561 Bump @types/jest from 26.0.19 to 26.0.20
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.19 to 26.0.20.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-01 12:16:20 +01:00
dependabot[bot]
0df682b3d9 Bump @types/node from 14.14.17 to 14.14.22
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.17 to 14.14.22.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-01 12:06:09 +01:00
Dave Olsthoorn
0e84f1d6a4 update dependencies 2020-12-31 20:04:54 +01:00
Dave Olsthoorn
9e5b3ce36b Merge branch 'main' of github.com:android-actions/setup-android into main 2020-12-21 09:19:32 +01:00
dependabot[bot]
ebc0cbe4ab Bump actions/setup-node from v2.1.2 to v2.1.4
Bumps [actions/setup-node](https://github.com/actions/setup-node) from v2.1.2 to v2.1.4.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.1.2...c46424eee26de4078d34105d3de3cc4992202b1e)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-21 09:16:42 +01:00
Max Romanyuta
27f88822ed Fix lint problems 2020-12-21 09:16:42 +01:00
Max Romanyuta
a9018e09bb Remove unnecessary changes 2020-12-21 09:16:42 +01:00
Max Romanyuta
6bb81b1f40 Fix path to sdkmanager for all platforms 2020-12-21 09:16:42 +01:00
Max Romanyuta
7b2dad077d Fix path to sdkmanager
In the commandlinetools-${OS}-${TOOLS_VERSION}_latest.zip file, the name of the zipped folder has been changed.
2020-12-21 09:16:42 +01:00
dependabot[bot]
6ef7c7f726 Bump @actions/cache from 1.0.3 to 1.0.5
Bumps [@actions/cache](https://github.com/actions/toolkit/tree/HEAD/packages/cache) from 1.0.3 to 1.0.5.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/cache/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/cache)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-21 09:16:42 +01:00
dependabot[bot]
df284ad095 Bump eslint from 7.12.1 to 7.16.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.12.1 to 7.16.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.12.1...v7.16.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-21 09:16:42 +01:00
dependabot[bot]
bb3313467a Bump eslint-plugin-jest from 23.20.0 to 24.1.3
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 23.20.0 to 24.1.3.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases)
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v23.20.0...v24.1.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-21 09:16:42 +01:00
Dave Olsthoorn
8c6fc62420 Bump @types/node from 14.14.6 to 14.14.14
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.6 to 14.14.14.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-21 09:16:27 +01:00
dependabot[bot]
bd524df5da Bump actions/setup-node from v2.1.2 to v2.1.4
Bumps [actions/setup-node](https://github.com/actions/setup-node) from v2.1.2 to v2.1.4.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.1.2...c46424eee26de4078d34105d3de3cc4992202b1e)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-21 09:04:56 +01:00
Max Romanyuta
e5fc925f91 Fix lint problems 2020-12-21 09:04:23 +01:00
Max Romanyuta
aceb0eac9b Remove unnecessary changes 2020-12-21 09:04:23 +01:00
Max Romanyuta
903dd50e8f Fix path to sdkmanager for all platforms 2020-12-21 09:04:23 +01:00
Max Romanyuta
ec68242df7 Fix path to sdkmanager
In the commandlinetools-${OS}-${TOOLS_VERSION}_latest.zip file, the name of the zipped folder has been changed.
2020-12-21 09:04:23 +01:00
dependabot[bot]
658d02355a
Bump @typescript-eslint/parser from 4.6.1 to 4.10.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.6.1 to 4.10.0.
- [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.10.0/packages/parser)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-21 05:51:33 +00:00
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
Dave Olsthoorn
24b7e80ade Changeup: consilidate code, drop cache, change download
This changes up way too much:
- Moving most (all) of the code to main.ts instead of the numerous
  files
- Dropping the caching functionality, since it should be optional
- now we will only download the android sdk tools if they are not
  already present, including if ANDROID_SDK_ROOT is already set
2020-08-26 17:51:32 +02:00
Dave Olsthoorn
57977119c1 Move all matchers to a single file 2020-08-26 17:43:31 +02:00
Dave Olsthoorn
2112bb34ef Update build 2020-08-17 20:09:00 +02:00
dependabot[bot]
78611c05a8 Bump @typescript-eslint/parser from 3.9.0 to 3.9.1
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 3.9.0 to 3.9.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/v3.9.1/packages/parser)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-17 20:04:10 +02:00
dependabot[bot]
c52a594b8a Bump @types/node from 14.0.27 to 14.6.0
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.0.27 to 14.6.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-17 20:01:40 +02:00
dependabot[bot]
d22da3d6e9 Bump @types/jest from 26.0.9 to 26.0.10
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.9 to 26.0.10.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-17 19:53:06 +02:00
dependabot[bot]
1d816790f5 Bump jest-circus from 26.3.0 to 26.4.0
Bumps [jest-circus](https://github.com/facebook/jest/tree/HEAD/packages/jest-circus) from 26.3.0 to 26.4.0.
- [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.4.0/packages/jest-circus)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-17 19:52:46 +02:00
dependabot[bot]
a4d56ab860 Bump eslint from 7.6.0 to 7.7.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.6.0 to 7.7.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.6.0...v7.7.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-17 19:52:11 +02:00
Dave Olsthoorn
62ea653263
Update README.md 2020-08-17 19:44:06 +02:00