Skip to content

Commit 2bc5841

Browse files
committed
Update README.md
1 parent 70d1031 commit 2bc5841

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,18 @@ If you are running this on `self-hosted` runner specially with Apple Silicon Mac
109109

110110
For more information plase check https://docs.flutter.dev/get-started/install/macos.
111111

112+
## Using outside of GitHub Actions environment
113+
114+
This action is designed to be used in GitHub Actions environment. If you want to use it outside of GitHub Actions, you can use the following script:
115+
116+
```bash
117+
# Usage:
118+
# curl -fsSL https://raw.githubusercontent.com/flutter-actions/setup-flutter/main/install.sh | bash -s -- <version> <channel>
119+
#
120+
# Example:
121+
curl -fsSL https://raw.githubusercontent.com/flutter-actions/setup-flutter/main/install.sh | bash -s -- 3.0.2 stable
122+
```
123+
112124
# License
113125

114126
See the [`LICENSE`](LICENSE) file.

0 commit comments

Comments
 (0)