feat: Allow git ref as version in master channel (#237)

* feat: Allow git ref as version in `master` channel

* fix lint

* fix parsing

* fix test

* fix checkout, add tests

* replace with tab
This commit is contained in:
Gustl22
2023-10-11 10:55:21 +02:00
committed by GitHub
parent ed388baf1d
commit cc97e1648f
3 changed files with 25 additions and 3 deletions

View File

@@ -51,6 +51,18 @@ steps:
- run: flutter --version
```
Use particular git reference on master channel:
```yaml
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
flutter-version: '5b12b74' # tag, commit or branch
channel: 'master'
- run: flutter --version
```
Build Android APK and app bundle:
```yaml