Commit graph

123 commits

Author SHA1 Message Date
Dave Olsthoorn
7528b5330e build: update build 2021-07-17 18:06:29 +02:00
Dave Olsthoorn
c1a2a96971 package-lock: run npm update 2021-07-17 18:04:48 +02:00
Dave Olsthoorn
a812d70a1a build: update build with new dependencies 2021-05-25 11:56:10 +02:00
Dave Olsthoorn
9bd8ed6b1f dependencies: update them all 2021-05-25 11:54:58 +02:00
dependabot[bot]
ecf659ded2 Bump @actions/core from 1.2.6 to 1.3.0
Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.2.6 to 1.3.0.
- [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>
2021-05-25 11:44:24 +02:00
dependabot[bot]
8f636b1085 Bump eslint-plugin-github from 4.1.1 to 4.1.3
Bumps [eslint-plugin-github](https://github.com/github/eslint-plugin-github) from 4.1.1 to 4.1.3.
- [Release notes](https://github.com/github/eslint-plugin-github/releases)
- [Commits](https://github.com/github/eslint-plugin-github/compare/v4.1.1...v4.1.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-27 18:56:31 +02:00
dependabot[bot]
be688ab050 Bump ts-jest from 26.5.2 to 26.5.5
Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 26.5.2 to 26.5.5.
- [Release notes](https://github.com/kulshekhar/ts-jest/releases)
- [Changelog](https://github.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kulshekhar/ts-jest/compare/v26.5.2...v26.5.5)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-27 18:56:17 +02:00
dependabot[bot]
2842aed41c Bump @types/node from 14.14.31 to 14.14.41
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.31 to 14.14.41.
- [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-04-27 18:51:45 +02:00
dependabot[bot]
bc065618ae Bump typescript from 4.2.2 to 4.2.4
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.2.2 to 4.2.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.2.2...v4.2.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-27 18:51:08 +02:00
dependabot[bot]
2d34867f5a Bump eslint-plugin-jest from 24.1.5 to 24.3.6
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 24.1.5 to 24.3.6.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases)
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v24.1.5...v24.3.6)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-27 18:50:43 +02:00
dependabot[bot]
2469709471 Bump actions/setup-java from v1 to v2
Bumps [actions/setup-java](https://github.com/actions/setup-java) from v1 to v2.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v1...8764a52df183aa0ccea74521dfd9d506ffc7a19a)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-27 18:48:58 +02:00
Vilius Sutkus '89
3404b45d4c Don't minify dist/index.js, ~150kb of added bloat.
Will be easier to debug production errors later.
2021-03-03 01:07:35 +02:00
Vilius Sutkus '89
161f0b2707 Rebuild dist/index.js with updated deps 2021-03-03 01:00:48 +02:00
Vilius Sutkus '89
ae8a1c8d80 Upgrade zeit/ncc to vercel/ncc. zeit/ncc is deprecated 2021-03-03 00:55:11 +02:00
Vilius Sutkus '89
e458de9c46 Update package-lock file version to 2 (npm-7)
Line reorder in package.json
2021-03-03 00:48:48 +02:00
Vilius Sutkus '89
da1ab05e31 Comments about mkdir/rmdir 2021-03-03 00:43:22 +02:00
dependabot[bot]
910b2809b6
Bump @typescript-eslint/eslint-plugin from 4.15.2 to 4.16.1 (#116)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.15.2 to 4.16.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.16.1/packages/eslint-plugin)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-03 00:40:40 +02:00
dependabot[bot]
7fc55be752
Bump @typescript-eslint/parser from 4.15.1 to 4.16.1 (#118)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.15.1 to 4.16.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.16.1/packages/parser)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-03 00:35:22 +02:00
dependabot[bot]
36160f0297
Bump @types/fs-extra from 9.0.7 to 9.0.8 (#117)
Bumps [@types/fs-extra](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/fs-extra) from 9.0.7 to 9.0.8.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/fs-extra)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-03 00:24:04 +02:00
dependabot[bot]
46ed96d180
Bump ts-jest from 26.5.1 to 26.5.2 (#111)
Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 26.5.1 to 26.5.2.
- [Release notes](https://github.com/kulshekhar/ts-jest/releases)
- [Changelog](https://github.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kulshekhar/ts-jest/compare/v26.5.1...v26.5.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-03 00:19:30 +02:00
dependabot[bot]
57a1f875c4
Bump js-yaml from 3.14.1 to 4.0.0 (#87)
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 3.14.1 to 4.0.0.
- [Release notes](https://github.com/nodeca/js-yaml/releases)
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/3.14.1...4.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-03 00:19:04 +02:00
dependabot[bot]
cee829806b
Bump actions/setup-node from v2.1.4 to v2.1.5 (#109)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from v2.1.4 to v2.1.5.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.1.4...46071b5c7a2e0c34e49c3cb8a0e792e86e18d5ea)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-03 00:11:43 +02:00
dependabot[bot]
a83cba80ae
Bump @typescript-eslint/eslint-plugin from 4.15.1 to 4.15.2 (#110)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.15.1 to 4.15.2.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.15.2/packages/eslint-plugin)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-03 00:10:39 +02:00
dependabot[bot]
53fbf5011f
Bump typescript from 4.1.5 to 4.2.2 (#112)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.1.5 to 4.2.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.1.5...v4.2.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-03 00:10:01 +02:00
dependabot[bot]
ef1614e11f
Bump eslint from 7.20.0 to 7.21.0 (#113)
Bumps [eslint](https://github.com/eslint/eslint) from 7.20.0 to 7.21.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.20.0...v7.21.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-03 00:09:25 +02:00
Laura
7506bcd002
[Issue #108] Overwrite CLI Tools (#115)
* Trying this

* Revert "Trying this"

This reverts commit 46eab8f218.

* Put exists check around tools move

* Remove directory before copying over it

* Reverted indent

* Revert additional two spaces
2021-03-03 00:02:20 +02: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