[新增] ExoPlayer 内核并设置为默认内核,该内核不会造成快进回退的问题 #36
This file contains 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: CI | |
on: | |
push: | |
branches: [ "master" ] | |
paths-ignore: | |
- "**.md" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
cache: gradle | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Build and sign APK with Gradle | |
run: ./gradlew assembleRelease | |
env: | |
HA1_KEYSTORE_PASSWORD: ${{ secrets.HA1_KEYSTORE_PASSWORD }} | |
HA1_GITHUB_TOKEN: ${{ secrets.HA1_GITHUB_TOKEN }} | |
- name: Upload APK | |
uses: actions/upload-artifact@v4 | |
with: | |
name: app-release-${{ github.sha }} | |
path: app/build/outputs/apk/release/Han1meViewer-v*.apk |