mobile-application/.github/workflows/release.yaml
Ben Martin 25dd3ae7cb
Some checks failed
Build / build (pull_request) Failing after 1m38s
feat: update JDK version to 17 in CI workflows
This commit updates the JDK version used in the CI build and release workflows from 11 to 17. This change affects the `build.yaml` and `release.yaml` files.
2025-01-21 00:29:24 +00:00

32 lines
621 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@v2
with:
distribution: 'adopt'
java-version: '17'
- name: Build with Gradle
run: ./gradlew composeApp:buildDebug
- name: Gradle Release
run: ./gradlew composeApp:debug
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: app
path: composeApp/build/outputs/apk/debug/*.apk