Skip to content

Updated README.md

Updated README.md #89

Workflow file for this run

name: Build
on:
push:
branches:
- main
- "feature/*"
pull_request:
branches:
- main
jobs:
build:
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup Dart SDK
uses: dart-lang/[email protected]
- name: Fetch Dependencies
run: dart pub get .
- name: Make Build Directories
run: mkdir -p build/releases/${{ matrix.platform }}
- name: Build
run: dart compile exe ./bin/main.dart --target-os ${{ matrix.platform }} -o build/releases/${{ matrix.platform }}/${{ matrix.output}}
- name: Add Installer Scripts to Build
run: cp ./scripts/installers/${{ matrix.platform }}/* build/releases/${{ matrix.platform }}/
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.os }}
path: build/releases/${{ matrix.platform }}/
retention-days: 14
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
platform: linux
output: arceus.elf
- os: windows-latest
platform: windows
output: arceus.exe
- os: macos-latest
platform: macos
output: arceus.app