chore: Bumped media3 to 1.5.0 #1
Workflow file for this run
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
# From https://github.com/JunkFood02/Seal | |
name: Android CI | |
on: | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build-debug: | |
name: Build FOSS APKs | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: set up JDK 21 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '21' | |
distribution: 'temurin' | |
cache: gradle | |
- name: Setup Android SDK | |
uses: android-actions/setup-android@v3 | |
- name: Create local.properties | |
run: | | |
echo "CLIENT_ID=${{ secrets.CLIENT_ID }}" >> local.properties | |
echo "CLIENT_SECRET=${{ secrets.CLIENT_SECRET }}" >> local.properties | |
- uses: gradle/actions/setup-gradle@v3 | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
#1 | |
- name: Decode Keystore | |
env: | |
ENCODED_STRING: ${{ secrets.SIGNING_KEY_STORE_BASE64 }} | |
SIGNING_KEY_STORE_PATH: ${{ secrets.SIGNING_KEY_STORE_PATH }} | |
run: | | |
echo $ENCODED_STRING > keystore-b64.txt | |
base64 -d keystore-b64.txt > $SIGNING_KEY_STORE_PATH | |
- name: Build with Gradle | |
env: | |
SIGNING_KEY_STORE_PATH: ${{ secrets.SIGNING_KEY_STORE_PATH }} | |
SIGNING_KEY_ALIAS: ${{ secrets.SIGNING_KEY_ALIAS }} | |
SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }} | |
SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_STORE_PASSWORD }} | |
run: ./gradlew assembleFoss | |
- name: Upload APK | |
uses: actions/upload-artifact@v4 | |
with: | |
name: release-artifacts | |
paths: | | |
app/build/outputs/apk/release/ |