File tree Expand file tree Collapse file tree 1 file changed +18
-2
lines changed
Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Original file line number Diff line number Diff line change 33 tags :
44 - " *"
55
6- name : Release Builds
6+ name : Windows build and release
77jobs :
88 windows :
99 name : Windows
@@ -19,10 +19,26 @@ jobs:
1919 - uses : actions/checkout@v4
2020 with :
2121 path : " app"
22+
23+ - name : Cache pub dependencies
24+ uses : actions/cache@v3
25+ with :
26+ path : |
27+ ${{ env.LOCALAPPDATA }}\Pub\Cache
28+ app/.dart_tool
29+ app/.pub-cache
30+ key : ${{ runner.os }}-pub-${{ hashFiles('app/pubspec.lock') }}
31+ restore-keys : |
32+ ${{ runner.os }}-pub-
33+
2234 - name : Flutter enable windows
2335 run : flutter config --enable-windows-desktop
36+
2437 - name : Install pub dependencies
25- run : cd app && flutter pub get
38+ run : |
39+ cd app
40+ flutter pub get
41+
2642 - name : Build windows release & compress it
2743 run : |
2844 cd app
You can’t perform that action at this time.
0 commit comments