mirror of
https://gitea.com/actions/setup-android.git
synced 2025-12-25 03:18:54 +08:00
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
This commit is contained in:
@@ -5,10 +5,10 @@
|
||||
"description": "setup android action",
|
||||
"main": "lib/main.js",
|
||||
"scripts": {
|
||||
"build": "ncc build src/main.ts --out dist/main --minify && ncc build src/post.ts --out dist/post --minify",
|
||||
"build": "ncc build src/main.ts --out dist/ --minify",
|
||||
"format": "prettier --write **/*.ts",
|
||||
"format-check": "prettier --check **/*.ts",
|
||||
"lint": "eslint src/**/*.ts",
|
||||
"lint": "eslint src/*.ts",
|
||||
"test": "jest",
|
||||
"all": "npm run format && npm run lint && npm run build && npm test"
|
||||
},
|
||||
@@ -27,9 +27,7 @@
|
||||
"dependencies": {
|
||||
"@actions/cache": "^1.0.2",
|
||||
"@actions/core": "^1.2.0",
|
||||
"@actions/tool-cache": "^1.6.0",
|
||||
"axios": "^0.19.2",
|
||||
"xml-js": "^1.6.11"
|
||||
"@actions/tool-cache": "^1.6.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/jest": "^26.0.10",
|
||||
|
||||
Reference in New Issue
Block a user