1
0
Fork 0
mirror of https://github.com/subosito/flutter-action.git synced 2024-08-16 10:19:50 +02:00

update readme for desktop build (closes #86)

This commit is contained in:
Alif Rachmawadi 2022-01-06 11:16:06 +00:00
parent 8af4ab61aa
commit 813937b170
No known key found for this signature in database
GPG key ID: DD1F490C879BFA91

View file

@ -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
```