Skip to content

Add gradle and flutter wrapper tasks to kradle script. #83

Add gradle and flutter wrapper tasks to kradle script.

Add gradle and flutter wrapper tasks to kradle script. #83

name: Build and publish native executable kradlew
on: [push]
jobs:
build:
strategy:
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: '17'
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.10.6'
channel: 'stable'
- name: Install dependencies
run: dart pub get
- name: Build executable
run: dart compile exe bin/kradle.dart -o kradle
- uses: actions/upload-artifact@v4
with:
name: kradle-${{ matrix.os }}
path: kradle