Skip to content

Draft release

Draft release #2

Workflow file for this run

# https://github.com/dart-lang/setup-dart
name: Dart
on: workflow_dispatch
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dart-lang/setup-dart@v1
with:
sdk: 3.5.1
flavor: release
architecture: x64
- name: Install dependencies
run: dart pub get --enforce-lockfile
# - run: dart format --output=none --set-exit-if-changed .
# - run: dart analyze
# - name: Run tests
# run: dart test
- name: Compile executable
run: dart compile exe --verbosity error --target-os linux -o bin/nix-infra bin/nix_infra.dart
# TODO: Export the binary, possibly creating a release