update README (#291)

This commit is contained in:
Bartek Pacia
2024-04-01 04:07:29 +02:00
committed by GitHub
parent 0ef13f12a5
commit 3d80492992

View File

@@ -5,6 +5,8 @@ macOS.
The following sections show how to configure this action. The following sections show how to configure this action.
Maintainers: [Alif Rachmawadi] (original creator), [Bartek Pacia]
## Specifying Flutter version ## Specifying Flutter version
### Use specific version and channel ### Use specific version and channel
@@ -63,6 +65,8 @@ steps:
> Using `flutter-version-file` requires [`yq`][https://github.com/mikefarah/yq], > Using `flutter-version-file` requires [`yq`][https://github.com/mikefarah/yq],
> which is not pre-installed in `windows` images. Install it yourself. > which is not pre-installed in `windows` images. Install it yourself.
### Use latest release for particular channel
```yaml ```yaml
steps: steps:
- name: Clone repository - name: Clone repository
@@ -279,3 +283,6 @@ steps:
echo PUB-CACHE-PATH=${{ steps.flutter-action.outputs.PUB-CACHE-PATH }} echo PUB-CACHE-PATH=${{ steps.flutter-action.outputs.PUB-CACHE-PATH }}
echo PUB-CACHE-KEY=${{ steps.flutter-action.outputs.PUB-CACHE-KEY }} echo PUB-CACHE-KEY=${{ steps.flutter-action.outputs.PUB-CACHE-KEY }}
``` ```
[Alif Rachmawadi]: https://github.com/subosito
[Bartek Pacia]: https://github.com/bartekpacia