Refactor WebMessage listener setup for FS streams #72
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: Build Dex | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| env: | |
| ANDROID_SDK_ROOT: ${{ github.workspace }}/android-sdk | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| - name: Set up JDK | |
| uses: actions/setup-java@v3 | |
| with: | |
| distribution: 'zulu' | |
| java-version: 21 | |
| - name: Set up Gradle | |
| uses: gradle/actions/setup-gradle@v4.3.1 | |
| with: | |
| validate-wrappers: true | |
| cache-cleanup: always | |
| - name: Set up Android SDK | |
| uses: android-actions/setup-android@v3 | |
| - name: Accept Licenses | |
| run: yes | sdkmanager --licenses | |
| - name: Install Build Tools | |
| run: sdkmanager "build-tools;36.0.0" "platforms;android-36" | |
| - name: Build Dex | |
| run: chmod 755 ./gradlew && ./gradlew --no-daemon build-dex | |
| - name: Upload classes.dex Artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: wxu-plugin-dex | |
| path: plugin/build/wxu.dex |