Add support for versions 12, 13, and 16 #59
This file contains hidden or 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: Run Android build | |
| on: | |
| workflow_dispatch: | |
| push: | |
| paths: | |
| - 'dist/**.js' | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: | |
| - ubuntu-latest | |
| - windows-latest | |
| - macos-latest | |
| # Disabled, because daveol/SampleApplication is missing | |
| if: ${{ false }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| repository: daveol/SampleApplication | |
| - uses: actions/checkout@v4 | |
| with: | |
| path: ./build/ | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: 17 | |
| distribution: 'temurin' | |
| - name: Setup Android SDK | |
| id: 'setup-android' | |
| uses: ./build/ | |
| - name: Build SampleApplication | |
| if: runner.os != 'windows' | |
| run: ./gradlew --no-daemon build | |
| - name: Build SampleApplication (Windows) | |
| if: runner.os == 'windows' | |
| run: .\gradlew.bat --no-daemon build |