From 813937b1704f17db3de64e96653f4068f5af920e Mon Sep 17 00:00:00 2001 From: Alif Rachmawadi Date: Thu, 6 Jan 2022 11:16:06 +0000 Subject: [PATCH] update readme for desktop build (closes #86) --- README.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/README.md b/README.md index c5df85ea..c9283012 100644 --- a/README.md +++ b/README.md @@ -113,3 +113,33 @@ jobs: - run: flutter build windows ``` +Build for Linux desktop: + +```yaml +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: subosito/flutter-action@v2 + with: + channel: beta + - run: flutter config --enable-linux-desktop + - run: flutter build linux +``` + +Build for macOS desktop: + +```yaml +jobs: + build: + runs-on: macos-latest + steps: + - uses: actions/checkout@v2 + - uses: subosito/flutter-action@v2 + with: + channel: beta + - run: flutter config --enable-macos-desktop + - run: flutter build macos +``` +