Some checks failed
Build / build (pull_request) Failing after 1m38s
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.
32 lines
621 B
YAML
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
|