This repository was archived by the owner on Mar 30, 2026. It is now read-only.
bump MPV version #449
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 | |
| on: | |
| pull_request: | |
| push: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v4 | |
| - name: Generate short SHA | |
| id: set-short-sha | |
| run: echo "SHORT_SHA=${GITHUB_SHA:0:7}" >> $GITHUB_ENV | |
| - name: Setup JDK 17 | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'adopt' | |
| java-version: 17 | |
| cache: 'gradle' | |
| - name: Make gradlew executable | |
| run: chmod +x ./gradlew | |
| - name: Build with Gradle | |
| run: ./gradlew detekt assembleRelease | |
| - name: Upload app-arm64-v8a Artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: app-arm64-v8a-release-unsigned-${{ env.SHORT_SHA }} | |
| path: app/build/outputs/apk/release/app-arm64-v8a-release-unsigned.apk | |
| - name: Upload app-armeabi-v7a Artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: app-armeabi-v7a-release-unsigned-${{ env.SHORT_SHA }} | |
| path: app/build/outputs/apk/release/app-armeabi-v7a-release-unsigned.apk | |
| - name: Upload app-universal Artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: app-universal-release-unsigned-${{ env.SHORT_SHA }} | |
| path: app/build/outputs/apk/release/app-universal-release-unsigned.apk | |
| - name: Upload app-x86 Artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: app-x86-release-unsigned-${{ env.SHORT_SHA }} | |
| path: app/build/outputs/apk/release/app-x86-release-unsigned.apk | |
| - name: Upload app-x86_64 Artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: app-x86_64-release-unsigned-${{ env.SHORT_SHA }} | |
| path: app/build/outputs/apk/release/app-x86_64-release-unsigned.apk |