mirror of
https://gitea.com/actions/setup-android.git
synced 2025-12-23 23:48:21 +00:00
Compare commits
10 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
72fdd2e74f | ||
|
|
e8ff59719d | ||
|
|
f373a0666c | ||
|
|
e5615156f4 | ||
|
|
943107c4e9 | ||
|
|
9ee0d8a034 | ||
|
|
d7b9d01c78 | ||
|
|
b5b08e0aee | ||
|
|
61b92998bb | ||
|
|
3496691692 |
8
.github/workflows/build-test.yml
vendored
8
.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.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'
|
||||
|
||||
|
||||
@@ -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
2
dist/index.js
vendored
File diff suppressed because one or more lines are too long
1407
package-lock.json
generated
1407
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
18
package.json
18
package.json
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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`
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user