Skip to content

Commit 59e5234

Browse files
committed
CI experiment
1 parent 77b9d35 commit 59e5234

2 files changed

Lines changed: 5 additions & 15 deletions

File tree

.github/workflows/eval.yaml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ jobs:
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
@@ -49,10 +48,3 @@ jobs:
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-

.github/workflows/flutter_packages.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)