Skip to content

Update Snapcast to v0.29.0 #5

Update Snapcast to v0.29.0

Update Snapcast to v0.29.0 #5

Workflow file for this run

name: CI
on: [push, pull_request, workflow_dispatch]
jobs:
build:
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Checkout submodules
run: git submodule update --init --recursive
- name: Download dependencies
run: |
LIBS_DIR="Snapcast/libs/"
wget https://github.com/badaix/snapcast-deps/releases/download/v0.29.0/boost-1.85.0.aar -P $LIBS_DIR
wget https://github.com/badaix/snapcast-deps/releases/download/v0.29.0/flac-1.4.2.aar -P $LIBS_DIR
wget https://github.com/badaix/snapcast-deps/releases/download/v0.29.0/oboe-1.9.0.aar -P $LIBS_DIR
wget https://github.com/badaix/snapcast-deps/releases/download/v0.29.0/ogg-1.3.5.aar -P $LIBS_DIR
wget https://github.com/badaix/snapcast-deps/releases/download/v0.29.0/opus-1.1.2.aar -P $LIBS_DIR
wget https://github.com/badaix/snapcast-deps/releases/download/v0.29.0/soxr-0.1.3.aar -P $LIBS_DIR
wget https://github.com/badaix/snapcast-deps/releases/download/v0.29.0/tremor-1.0.1.aar -P $LIBS_DIR
wget https://github.com/badaix/snapcast-deps/releases/download/v0.29.0/vorbis-1.3.7.aar -P $LIBS_DIR
- name: Build the app
run: JAVA_HOME=$JAVA_HOME_17_X64 ./gradlew build
- name: rename apk
run: mv /home/runner/work/snapdroid/snapdroid/Snapcast/build/outputs/apk/release/Snapcast-release-unsigned.apk /home/runner/work/snapdroid/snapdroid/Snapcast/build/outputs/apk/release/Snapcast.apk
- uses: filippoLeporati93/android-release-signer@v1
if: github.event_name == 'push'
name: Sign app APK
# ID used to access action output
id: sign_app
with:
releaseDirectory: /home/runner/work/snapdroid/snapdroid/Snapcast/build/outputs/apk/release
signingKeyBase64: ${{ secrets.SIGNING_KEY }}
alias: ${{ secrets.ALIAS }}
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
keyPassword: ${{ secrets.KEY_PASSWORD }}
env:
# override default build-tools version (29.0.3) -- optional
BUILD_TOOLS_VERSION: "35.0.0"
- name: Archive artifacts
if: github.event_name == 'push'
uses: actions/upload-artifact@v4
with:
name: develop_snapshot-${{github.sha}}
path: ${{steps.sign_app.outputs.signedReleaseFile}}