Skip to content

add recently watched row and surprise me button #5

add recently watched row and surprise me button

add recently watched row and surprise me button #5

Workflow file for this run

name: Build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Set up Gradle
uses: gradle/actions/setup-gradle@v3
with:
gradle-version: "8.2"
- name: Build debug APK
run: gradle assembleDebug
- name: Upload APK artifact
uses: actions/upload-artifact@v4
with:
name: bbc-debug
path: app/build/outputs/apk/debug/app-debug.apk
retention-days: 30
- name: Create or update latest release
if: github.ref == 'refs/heads/main'
uses: softprops/action-gh-release@v2
with:
tag_name: latest
name: Latest Build
body: |
Automated debug build from `${{ github.sha }}`
> This release is overwritten on every push to `main`.
prerelease: true
files: app/build/outputs/apk/debug/app-debug.apk
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}