-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from kuhnroyal/develop
Release 0.0.3
- Loading branch information
Showing
2 changed files
with
35 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,30 @@ | ||
# flutter-fvm-config-action | ||
An action that parses an [FVM](https://github.com/leoafarias/fvm) config file into environment variables which can then be used to configure the [flutter-action](https://github.com/subosito/flutter-action). | ||
An action that parses an [FVM](https://github.com/leoafarias/fvm) config file into environment variables which | ||
can then be used to configure the [flutter-action](https://github.com/subosito/flutter-action). | ||
|
||
|
||
## Usage | ||
|
||
### Basic usage | ||
```yaml | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: kuhnroyal/flutter-fvm-config-action@v1 | ||
- uses: subosito/flutter-action@v1 | ||
with: | ||
flutter-version: ${{ env.FLUTTER_VERSION }} | ||
channel: ${{ env.FLUTTER_CHANNEL }} | ||
``` | ||
### Custom config path | ||
```yaml | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: kuhnroyal/flutter-fvm-config-action@v1 | ||
with: | ||
path: 'some-path/.fvm/fvm_config.json' | ||
- uses: subosito/flutter-action@v1 | ||
with: | ||
flutter-version: ${{ env.FLUTTER_VERSION }} | ||
channel: ${{ env.FLUTTER_CHANNEL }} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,14 @@ | ||
name: 'Flutter FVM config action' | ||
description: 'An action that parses an https://github.com/leoafarias/fvm config file into environment variables which can then be used to configure the https://github.com/subosito/flutter-action.' | ||
description: 'Action that parses an FVM config file in order to configure the subosito/flutter-action.' | ||
author: 'Peter Leibiger' | ||
inputs: | ||
path: | ||
description: 'Path to the FVM config file' | ||
required: false | ||
default: '.fvm/fvm_config.json' | ||
runs: | ||
using: 'node12' | ||
main: 'dist/index.js' | ||
main: 'dist/index.js' | ||
branding: | ||
icon: 'maximize' | ||
color: 'blue' |