Skip to content

Commit 5bcfa92

Browse files
committed
update CI
1 parent 005b55b commit 5bcfa92

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,10 @@ jobs:
88
steps:
99
- uses: actions/checkout@v3
1010

11-
- name: Clone Flutter SDK
12-
# We can't do a depth-1 clone, because we need the most recent tag
13-
# so that Flutter knows its version and sees the constraint in our
14-
# pubspec is satisfied. It's uncommon for flutter/flutter to go
15-
# more than 100 commits between tags. Fetch 1000 for good measure.
11+
- name: ⚙️ Install direnv
1612
run: |
17-
git clone --depth=1000 https://github.com/flutter/flutter ~/flutter
18-
TZ=UTC git --git-dir ~/flutter/.git log -1 --format='%h | %ci | %s' --date=iso8601-local
19-
echo ~/flutter/bin >> "$GITHUB_PATH"
13+
sudo apt-get -y install direnv
14+
eval "$(direnv hook bash)"
2015
2116
- name: Download Flutter SDK artifacts (flutter precache)
2217
run: flutter precache --universal

0 commit comments

Comments
 (0)