Skip to content

Commit

Permalink
adjust windows example
Browse files Browse the repository at this point in the history
  • Loading branch information
subosito committed Apr 26, 2021
1 parent d94ad8f commit 41992c0
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,26 +67,18 @@ steps:
- run: flutter build web
```

Build for Windows and upload artifact:
Build for Windows:

```yaml
windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: '12.x'
- uses: subosito/flutter-action@v1
with:
channel: dev
channel: beta
- run: flutter config --enable-windows-desktop
- run: flutter create .
- run: flutter build windows
- uses: actions/upload-artifact@master
with:
name: windows
path: build\windows\runner\Release
```

Use latest release for particular channel:
Expand Down

0 comments on commit 41992c0

Please sign in to comment.