mobile-application/.github/workflows/release.yaml
Ben Martin 362ab97601
All checks were successful
Build / build (push) Successful in 4m41s
fix: update Gradle build command in CI workflows (#11)
This commit updates the CI build and release workflows by changing the Gradle build command from `composeApp:buildDebug` to `composeApp:build`.
This change affects the `build.yaml` and `release.yaml` files.
-  the Gradle build command is updated to use `composeApp:build` instead of `composeApp:buildDebug`

Reviewed-on: #11
Co-authored-by: Ben Martin <ben.martin@sky.uk>
Co-committed-by: Ben Martin <ben.martin@sky.uk>
2025-01-21 10:16:52 +00:00

36 lines
746 B
YAML

name: Release
on:
push:
tags:
- 'v*'
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: gradle
- name: Setup Android SDK
uses: android-actions/setup-android@v3
- name: Build with Gradle
run: ./gradlew composeApp:build --no-daemon
- name: Gradle Release
run: ./gradlew composeApp:debug --no-daemon
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: app
path: composeApp/build/outputs/apk/debug/*.apk