Skip to content

set jdk for workflow #3

set jdk for workflow

set jdk for workflow #3

Workflow file for this run

name: Build and Release
on:
push:
tags:
- 'v*'
permissions:
contents: write
jobs:
build-and-release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/gradle-build-action@v3
- name: Make gradlew executable
run: chmod +x ./gradlew
- name: Build Android Release APK
run: ./gradlew :composeApp:assembleRelease
- name: Get tag name
id: tag
run: echo "TAG_NAME=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
- name: Create Release with APK
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ steps.tag.outputs.TAG_NAME }}
name: DailyQuote ${{ steps.tag.outputs.TAG_NAME }} - Cross-Platform Mobile App
body: |
🚀 **New Release: DailyQuote ${{ steps.tag.outputs.TAG_NAME }}**
Modern **Kotlin Multiplatform Mobile** app for daily inspirational quotes!
## 📱 Downloads
- **Android APK**: Download from the assets below
- **iOS**: Coming soon! (Build from source for now)
## 🌟 Key Features
- **Cross-platform** mobile app (Android & iOS)
- **Kotlin Multiplatform** shared business logic
- **Jetpack Compose** for Android UI
- **SwiftUI** for iOS UI
- **Offline-first architecture**
- **Clean Architecture** implementation
## 📱 Platforms Supported
- ✅ **Android** (API 24+)
- ✅ **iOS** (14.0+)
## 🛠️ For Developers
Perfect project for learning:
- **Kotlin Multiplatform Mobile** development
- **Modern declarative UI** frameworks
- **Cross-platform** mobile architecture
- **Clean coding** practices
## 🚀 Getting Started
1. Clone the repository
2. Follow README setup instructions
3. Build and run on your platform
**Star ⭐ this repo if you find it helpful!**
#KotlinMultiplatform #MobileApp #CrossPlatform #Android #iOS #JetpackCompose #SwiftUI #CleanArchitecture
files: |
composeApp/build/outputs/apk/release/*.apk
draft: false
prerelease: false
generate_release_notes: true