Skip to content

ADD CI cache-dependency-path #53

ADD CI cache-dependency-path

ADD CI cache-dependency-path #53

Workflow file for this run

name: Debug Builds
on: [ push ] # run on all pushes on any branch
jobs:
prepare-all:
uses: ./.github/workflows/_prepare-all.yml

Check failure on line 7 in .github/workflows/debug.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/debug.yml

Invalid workflow file

error parsing called workflow ".github/workflows/debug.yml" -> "./.github/workflows/_prepare-all.yml" (source branch with sha:f7448c6e661350c863bbc3e4cdb7b4a0e518eaa8) : You have an error in your yaml syntax on line 14
build:
runs-on: macos-latest # use [ self-hosted, macOS ] to host on our own mac mini, which is twice as fast and cheaper than hosting on a github runner. See README for more info.
steps:
- uses: actions/checkout@v4
- name: Build Debug APK
run: ./gradlew assembleDevDebug --stacktrace
- name: Run unit tests
run: ./gradlew test --stacktrace
- name: Upload Dev Debug APK to Artifacts
uses: actions/upload-artifact@v4
with:
name: ${{ github.event.repository.name }}-${{ github.run_number }}-dev-debug-apk
path: |
${{ github.workspace }}/app/build/outputs/apk/dev/debug/app-dev-debug.apk
- name: Build Prod APK
run: ./gradlew assembleProdDebug --stacktrace
- name: Upload Prod Debug APK to Artifacts
uses: actions/upload-artifact@v4
with:
name: ${{ github.event.repository.name }}_${{ github.run_number }}-prod-debug-apk
path: |
${{ github.workspace }}/app/build/outputs/apk/prod/debug/app-prod-debug.apk