Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
1 contributor

Users who have contributed to this file

28 lines (24 sloc) 697 Bytes
name: Build on Push
on: [push]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
include:
- os: ubuntu-latest
output-name: hello-linux
- os: macOS-latest
output-name: hello-mac
- os: windows-latest
output-name: hello-windows.exe
steps:
- uses: actions/checkout@v1
- uses: DanTup/gh-actions/setup-dart@master
- run: mkdir build
- run: dart2native bin/main.dart -v -o build/${{ matrix.output-name }}
- uses: actions/upload-artifact@v1
with:
name: native-executables
path: build
You can’t perform that action at this time.