chore(deps): update gradle/actions action to v6 #132
Workflow file for this run
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 libmpv-android | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| build: | |
| name: Build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: Setup Java JDK | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: temurin | |
| java-version: 21 | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v6 | |
| - name: Symlink SDK | |
| working-directory: ./buildscripts | |
| run: | | |
| mkdir sdk | |
| ln -s ${ANDROID_HOME} ./sdk/android-sdk-linux | |
| - name: Install system dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y autoconf pkgconf libtool ninja-build python3-pip python3-jinja2 gperf nasm | |
| sudo pip3 install --break-system-packages meson | |
| - name: Download dependencies | |
| working-directory: ./buildscripts | |
| env: | |
| IN_CI: 1 | |
| run: ./download.sh | |
| - name: Apply patches | |
| working-directory: ./buildscripts | |
| run: ./patch.sh | |
| - name: Build | |
| working-directory: ./buildscripts | |
| run: ./build.sh | |
| - uses: actions/upload-artifact@v7 | |
| with: | |
| name: libmpv-release.aar | |
| path: ./libmpv/build/outputs/aar/libmpv-release.aar |