File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change 8
8
steps :
9
9
- uses : actions/checkout@v3
10
10
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
16
12
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)"
20
15
21
16
- name : Download Flutter SDK artifacts (flutter precache)
22
17
run : flutter precache --universal
You can’t perform that action at this time.
0 commit comments