mirror of
https://gitea.com/actions/setup-android.git
synced 2025-12-24 07:58:22 +00:00
Compare commits
24 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a812d70a1a | ||
|
|
9bd8ed6b1f | ||
|
|
ecf659ded2 | ||
|
|
8f636b1085 | ||
|
|
be688ab050 | ||
|
|
2842aed41c | ||
|
|
bc065618ae | ||
|
|
2d34867f5a | ||
|
|
2469709471 | ||
|
|
3404b45d4c | ||
|
|
161f0b2707 | ||
|
|
ae8a1c8d80 | ||
|
|
e458de9c46 | ||
|
|
da1ab05e31 | ||
|
|
910b2809b6 | ||
|
|
7fc55be752 | ||
|
|
36160f0297 | ||
|
|
46ed96d180 | ||
|
|
57a1f875c4 | ||
|
|
cee829806b | ||
|
|
a83cba80ae | ||
|
|
53fbf5011f | ||
|
|
ef1614e11f | ||
|
|
7506bcd002 |
10
.github/workflows/build-test.yml
vendored
10
.github/workflows/build-test.yml
vendored
@@ -18,7 +18,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Setup node 12
|
||||
uses: actions/setup-node@v2.1.4
|
||||
uses: actions/setup-node@v2.1.5
|
||||
with:
|
||||
node-version: '12'
|
||||
|
||||
@@ -32,7 +32,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Setup node 12
|
||||
uses: actions/setup-node@v2.1.4
|
||||
uses: actions/setup-node@v2.1.5
|
||||
with:
|
||||
node-version: '12'
|
||||
|
||||
@@ -46,7 +46,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Setup node 12
|
||||
uses: actions/setup-node@v2.1.4
|
||||
uses: actions/setup-node@v2.1.5
|
||||
with:
|
||||
node-version: '12'
|
||||
|
||||
@@ -65,7 +65,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Setup node 12
|
||||
uses: actions/setup-node@v2.1.4
|
||||
uses: actions/setup-node@v2.1.5
|
||||
with:
|
||||
node-version: '12'
|
||||
|
||||
@@ -82,7 +82,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Setup node 12
|
||||
uses: actions/setup-node@v2.1.4
|
||||
uses: actions/setup-node@v2.1.5
|
||||
with:
|
||||
node-version: '12'
|
||||
|
||||
|
||||
2
.github/workflows/run.yml
vendored
2
.github/workflows/run.yml
vendored
@@ -32,7 +32,7 @@ jobs:
|
||||
path: ./build/
|
||||
|
||||
- name: Set up JDK 1.8
|
||||
uses: actions/setup-java@v1
|
||||
uses: actions/setup-java@v2
|
||||
with:
|
||||
java-version: 1.8
|
||||
|
||||
|
||||
8435
dist/index.js
vendored
8435
dist/index.js
vendored
File diff suppressed because one or more lines are too long
1240
package-lock.json
generated
1240
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
32
package.json
32
package.json
@@ -5,7 +5,7 @@
|
||||
"description": "setup android action",
|
||||
"main": "lib/main.js",
|
||||
"scripts": {
|
||||
"build": "ncc build src/main.ts --out dist/ --minify",
|
||||
"build": "ncc build src/main.ts --out dist/",
|
||||
"format": "prettier --write **/*.ts",
|
||||
"format-check": "prettier --check **/*.ts",
|
||||
"lint": "eslint src/*.ts",
|
||||
@@ -25,26 +25,26 @@
|
||||
"author": "daveol",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"@actions/cache": "^1.0.6",
|
||||
"@actions/core": "^1.2.6",
|
||||
"@actions/cache": "^1.0.7",
|
||||
"@actions/core": "^1.3.0",
|
||||
"@actions/tool-cache": "^1.6.1",
|
||||
"fs-extra": "^9.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/jest": "^26.0.20",
|
||||
"@types/node": "^14.14.31",
|
||||
"@typescript-eslint/eslint-plugin": "^4.15.1",
|
||||
"@typescript-eslint/parser": "^4.15.1",
|
||||
"@types/fs-extra": "^9.0.6",
|
||||
"@zeit/ncc": "^0.22.3",
|
||||
"eslint": "^7.20.0",
|
||||
"eslint-plugin-github": "^4.1.1",
|
||||
"eslint-plugin-jest": "^24.1.5",
|
||||
"@types/fs-extra": "^9.0.11",
|
||||
"@types/jest": "^26.0.23",
|
||||
"@types/node": "^14.17.1",
|
||||
"@typescript-eslint/eslint-plugin": "^4.25.0",
|
||||
"@typescript-eslint/parser": "^4.25.0",
|
||||
"@vercel/ncc": "^0.27.0",
|
||||
"eslint": "^7.27.0",
|
||||
"eslint-plugin-github": "^4.1.3",
|
||||
"eslint-plugin-jest": "^24.3.6",
|
||||
"jest": "^26.6.3",
|
||||
"jest-circus": "^26.6.3",
|
||||
"js-yaml": "^3.14.1",
|
||||
"prettier": "^2.2.1",
|
||||
"ts-jest": "^26.5.1",
|
||||
"typescript": "^4.1.5"
|
||||
"js-yaml": "^4.1.0",
|
||||
"prettier": "^2.3.0",
|
||||
"ts-jest": "^26.5.6",
|
||||
"typescript": "^4.2.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -117,8 +117,13 @@ async function installSdkManager(): Promise<string> {
|
||||
CMDLINE_TOOLS_VERSION
|
||||
)
|
||||
|
||||
// Create parent directory
|
||||
fs.mkdirSync(path.dirname(desiredLocation), {recursive: true})
|
||||
// @TODO: use io.mv instead of fs-extra once following issue is resolved:
|
||||
|
||||
// Make sure we don't have leftover target directory (happens sometimes...)
|
||||
if (fs.existsSync(desiredLocation)) fse.removeSync(desiredLocation)
|
||||
|
||||
// @TODO: use io.mv instead of fs-extra.moveSync once following issue is resolved:
|
||||
// https://github.com/actions/toolkit/issues/706
|
||||
fse.moveSync(
|
||||
path.join(cmdlineToolsExtractedLocation, 'cmdline-tools'),
|
||||
|
||||
Reference in New Issue
Block a user