File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 runs-on : ubuntu-latest
1616 environment : eval
1717 steps :
18+ - name : Checkout code
19+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
1820 - name : Check that REPO_GEMINI_API_KEY is set and available
1921 env :
2022 # REPO_GEMINI_API_KEY is expected to be set in the repository secrets
@@ -27,14 +29,11 @@ jobs:
2729 fi
2830 echo "GEMINI_API_KEY has ${#GEMINI_API_KEY} characters"
2931 - name : Install Flutter
30- uses : subosito/flutter-action@0ca7a949e71ae44c8e688a51c5e7e93b2c87e295
32+ uses : ./.github/workflows/internals/install_flutter
3133 with :
3234 channel : beta
33- cache : true
3435 - name : Print Flutter version
3536 run : flutter --version
36- - name : Checkout code
37- uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
3837 - name : Install dependencies
3938 working-directory : examples/eval
4039 run : dart pub get
4948 path : ${{ env.PUB_CACHE }}
5049 key : ${{ runner.os }}-pub-${{ hashFiles('**/pubspec.lock') }}
5150 restore-keys : ${{ runner.os }}-pub-
52-
53-
54-
55-
56-
57-
58-
Original file line number Diff line number Diff line change @@ -103,10 +103,9 @@ jobs:
103103 if : github.repository == 'flutter/genui'
104104 steps :
105105 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
106- - uses : subosito/flutter-action@0ca7a949e71ae44c8e688a51c5e7e93b2c87e295
106+ - uses : ./.github/workflows/internals/install_flutter
107107 with :
108108 channel : stable
109- cache : true
110109 - name : Install dependencies
111110 run : flutter pub get > /dev/null
112111 - name : Check copyrights
@@ -131,10 +130,9 @@ jobs:
131130 distribution : " zulu"
132131 java-version : " 17"
133132 cache : " gradle"
134- - uses : subosito/flutter-action@0ca7a949e71ae44c8e688a51c5e7e93b2c87e295
133+ - uses : ./.github/workflows/internals/install_flutter
135134 with :
136135 channel : ${{ matrix.flutter_version }}
137- cache : true
138136 - name : Print Flutter version
139137 run : flutter --version
140138 - name : Cache Pub dependencies
You can’t perform that action at this time.
0 commit comments