feat: enhance UI layout and improve error handling in media player #116
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 desktop DEB package | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - 'dev' | |
| paths-ignore: | |
| - 'README.md' | |
| - 'fastlane/**' | |
| - 'assets/**' | |
| - '.github/**/*.md' | |
| - '.github/FUNDING.yml' | |
| - '.github/ISSUE_TEMPLATE/**' | |
| permissions: | |
| contents: write | |
| jobs: | |
| build-desktop-deb: | |
| name: Build desktop DEB package | |
| runs-on: ubuntu-22.04 | |
| defaults: | |
| run: | |
| shell: bash | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: 'recursive' | |
| - name: set up JDK 17 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: 21 | |
| distribution: "zulu" | |
| cache: 'gradle' | |
| - name: Update build product flavor | |
| run: | | |
| echo "" >> ./gradle.properties | |
| echo "isFullBuild=true" >> ./gradle.properties | |
| - name: Update Sentry Secrets | |
| env: | |
| SENTRY_DSN: ${{ secrets.SENTRY_DSN_JVM }} | |
| SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} | |
| run: | | |
| echo 'SENTRY_DSN=${{ secrets.SENTRY_DSN_JVM }}' > ./local.properties | |
| echo "SENTRY_AUTH_TOKEN=${{ secrets.SENTRY_AUTH_TOKEN }}" >> ./local.properties | |
| - name: Generate aboutLibraries.json | |
| run: ./gradlew exportLibraryDefinitions | |
| - name: Build desktop DEB package | |
| run: ./gradlew packageReleaseDeb | |
| - name: Upload DEB package | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: desktop-deb-package | |
| path: composeApp/build/compose/binaries/main-release/deb/*.deb |