Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/geekswamp/flutter-sdk-action

Flutter SDK GitHub Action, currently only supports Android and Linux
https://github.com/geekswamp/flutter-sdk-action

Last synced: about 1 hour ago
JSON representation

Flutter SDK GitHub Action, currently only supports Android and Linux

Awesome Lists containing this project

README

        

# Flutter SDK Action

Flutter SDK GitHub Action.

> [!NOTE]
>
> This action currently only supports Android and Linux

## Use Specific Flutter Shannel

```yaml
steps:
- name: Set up Flutter
uses: geekswamp/flutter-sdk-action@v1
with:
channel: stable # or beta
- run: flutter --version
```

## Build Target

### Build for Android

```yaml
steps:
- name: Set up Flutter
uses: geekswamp/flutter-sdk-action@v1
with:
channel: stable
- run: flutter pub get
- run: flutter test
- run: flutter build apk
```

### Build for Linux Desktop

```yaml
steps:
- name: Set up Flutter
uses: geekswamp/flutter-sdk-action@v1
with:
channel: stable
- run: flutter pub get
- run: flutter test
- run: flutter build linux
```