Skip to content

Download resources from git which works in native executable as well … #38

Download resources from git which works in native executable as well …

Download resources from git which works in native executable as well … #38

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 }}-${{ matrix.version }}
path: kradle