Skip to content

Commit

Permalink
ci: improve debug build and archive apk file
Browse files Browse the repository at this point in the history
  • Loading branch information
Mopsalarm committed Dec 29, 2024
1 parent f8c5ac7 commit 8f9289b
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 27 deletions.
27 changes: 0 additions & 27 deletions .github/workflows/CI.yml

This file was deleted.

35 changes: 35 additions & 0 deletions .github/workflows/debug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Debug

on:
push:
branches:
- master

pull_request:

jobs:
build:
runs-on: ubuntu-24.04
name: Build

steps:
- uses: actions/checkout@v4

- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: 17
distribution: temurin

- name: Setup Android SDK
uses: android-actions/setup-android@v3

- name: Build App
run: ./gradlew --no-daemon assembleDebug

- uses: actions/upload-artifact@v4
with:
name: pr0gramm-app-debug.apk
path: app/build/outputs/apk/release/app-release.apk
if-no-files-found: error
compression-level: 0

0 comments on commit 8f9289b

Please sign in to comment.