fix(emulator-run-cmd): use latest cmdline tools, not the bootstrap ve… #159
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Test macOS" | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: macOS-10.15 | |
steps: | |
- uses: actions/checkout@v1 | |
- name: test install-sdk | |
run: npm config delete prefix && source ~/.nvm/nvm.sh && nvm install v16.15.0 && npm install && npm ci && npm run build | |
working-directory: install-sdk | |
- name: test emulator-run-cmd | |
run: npm config delete prefix && source ~/.nvm/nvm.sh && nvm install v16.15.0 && npm install && npm ci && npm run build | |
working-directory: emulator-run-cmd | |
- uses: ./install-sdk | |
name: install sdk | |
- run: sdkmanager platform-tools | |
- run: adb devices | |
- uses: ./emulator-run-cmd | |
with: | |
api: 25 | |
tag: default | |
abi: x86 | |
cmd: adb shell getprop | |
bootTimeout: 500 | |
- uses: actions/upload-artifact@v1 | |
with: | |
name: logcat | |
path: artifacts/logcat.log |