Skip to content

Commit

Permalink
Merge pull request #168 from amyu/eyes-167
Browse files Browse the repository at this point in the history
changed cmdline-tools path
  • Loading branch information
amyu authored Sep 17, 2023
2 parents b063c90 + 35225ae commit 3408ea5
Show file tree
Hide file tree
Showing 12 changed files with 14,696 additions and 13,835 deletions.
38 changes: 35 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
echo 'ANDROID_SDK_ROOT=' >> $GITHUB_ENV
rm -rf ~/android
- name: Setup JDK 11
- name: Setup JDK 17
uses: actions/setup-java@v3
with:
java-version: 17
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
echo 'ANDROID_SDK_ROOT=' >> $GITHUB_ENV
rm -rf ~/android
- name: Setup JDK 11
- name: Setup JDK 17
uses: actions/setup-java@v3
with:
java-version: 17
Expand All @@ -83,4 +83,36 @@ jobs:
ndk-version: '25.1.8937393'

- run: |
./sample-android-project/gradlew -p sample-android-project assembleDebug --stacktrace
./sample-android-project/gradlew -p sample-android-project assembleDebug --stacktrace
test_check_cmdline_tools_path:
name: run check cmdline-tools path
runs-on: ${{ matrix.os }}
timeout-minutes: 20
strategy:
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]

steps:
- uses: actions/checkout@v4

- name: remove android sdk from ubuntu-latest
shell: bash
run: |
echo 'ANDROID_HOME=' >> $GITHUB_ENV
echo 'ANDROID_SDK_ROOT=' >> $GITHUB_ENV
rm -rf ~/android
- name: Setup JDK 17
uses: actions/setup-java@v3
with:
java-version: 17
distribution: temurin

- name: Setup Android SDK
uses: ./
with:
cache-disabled: true

- run: |
sdkmanager --install "system-images;android-31;default;x86_64"
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ inputs:
description: 'Workaround to pass job status to post job step. This variable is not intended for manual setting'
default: ${{ job.status }}
runs:
using: 'node16'
using: 'node20'
main: 'dist/setup/index.js'
post: 'dist/cleanup/index.js'
13,897 changes: 7,150 additions & 6,747 deletions dist/cleanup/index.js

Large diffs are not rendered by default.

13,928 changes: 7,167 additions & 6,761 deletions dist/setup/index.js

Large diffs are not rendered by default.

Loading

0 comments on commit 3408ea5

Please sign in to comment.