chore(flutter): lock Flutter version during CI/CD builds

This commit is contained in:
Jagandeep Brar
2022-10-20 15:56:42 -05:00
parent 7d469e7bad
commit f9a2a1c85c
3 changed files with 6 additions and 20 deletions

View File

@@ -69,6 +69,7 @@ runs:
- name: Install Flutter - name: Install Flutter
uses: subosito/flutter-action@v2 uses: subosito/flutter-action@v2
with: with:
flutter-version: '3.3.2'
channel: stable channel: stable
cache: true cache: true
cache-key: ${{ github.sha }} cache-key: ${{ github.sha }}

View File

@@ -1,20 +0,0 @@
name: Clear Flutter Cache
on:
workflow_dispatch
jobs:
clear:
name: Clear Cache
runs-on: ubuntu-latest
steps:
- name: Install Flutter
uses: subosito/flutter-action@v2
with:
channel: stable
cache: true
cache-key: ${{ github.sha }}
- name: Flutter Doctor
working-directory: ${{ github.workspace }}
run: flutter doctor -v

5
.vscode/settings.json vendored Normal file
View File

@@ -0,0 +1,5 @@
{
"yaml.schemas": {
"https://json.schemastore.org/github-issue-config.json": "file:///Users/jagandeepbrar/Git/LunaSea/.github/ISSUE_TEMPLATE/config.yml"
}
}