Skip to content

Commit a86cdbf

Browse files
[CI] Call this action by calling action.yml
action.yml has default input arguments. Would rather not duplicate them in CI workflow
1 parent 713cbf4 commit a86cdbf

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/build-test.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,10 @@ jobs:
8787
- run: npm ci
8888
- run: npm run build
8989

90-
- run: node dist/index.js
91-
env:
92-
INPUT_CMDLINE-TOOLS-VERSION: ${{ matrix.cmdline-tools-version }}
93-
INPUT_ACCEPT-ANDROID-SDK-LICENSES: 'true'
94-
INPUT_LOG-ACCEPTED-ANDROID-SDK-LICENSES: 'false'
90+
- name: Run setup-android
91+
uses: ./
92+
with:
93+
cmdline-tools-version: ${{ matrix.cmdline-tools-version }}
9594

9695
- run: sdkmanager --list_installed
9796

0 commit comments

Comments
 (0)