Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update cordova.yml #1009

Merged
merged 7 commits into from
Mar 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 15 additions & 3 deletions .github/workflows/cordova.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,37 +11,49 @@ jobs:
cordova-android:
name: android@${{ matrix.platform }} cordova@${{ matrix.cordova }}

runs-on: ubuntu-latest
runs-on: ubuntu-${{ matrix.ubuntu }}

strategy:
fail-fast: false
matrix:
include:
- jdk: 16
cordova: latest
platform: latest
node: 18.x
ubuntu: 22.04
android-cmdline-tools-version: 9862592
- jdk: 11
cordova: 11
platform: 10
node: 14.x
ubuntu: 20.04
android-cmdline-tools-version: 9862592
- jdk: 8
cordova: 10
platform: 10
node: 14.x
ubuntu: 20.04
android-cmdline-tools-version: 8512546

steps:
- uses: actions/checkout@v3
- name: set up JDK ${{ matrix.jdk }}
- name: Setup JDK ${{ matrix.jdk }}
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.jdk }}
distribution: 'temurin'
- name: Use Node.js ${{ matrix.node }}
- name: Setup Node.js ${{ matrix.node }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- name: Setup Android SDK
uses: android-actions/setup-android@v3
with:
cmdline-tools-version: ${{ matrix.android-cmdline-tools-version }}
- name: Build test app
run: |
sdkmanager "build-tools;30.0.3"
npm install -g cordova@${{ matrix.cordova }}
cordova create temp
cd temp
Expand Down
Loading