File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ name: Windows Build
22on :
33 push :
44 workflow_dispatch :
5-
65jobs :
76 build :
87 name : Windows Build
@@ -11,25 +10,38 @@ jobs:
1110 steps :
1211 - name : Retrieving latest commit.
1312 uses : actions/checkout@v4
14-
1513 - name : Setting up Haxe
1614 uses : krdlab/setup-haxe@v1
1715 with :
18- haxe-version : 4.3.7
19-
20- - name : Display current Haxe Version
21- run : haxe -version
22-
23- - name : Installing libraries
16+ haxe-version : 4.3.7 # haxe version i used cuz yes
17+ - name : Restore existing build cache for faster compilation
18+ uses : actions/cache@v3
19+ with :
20+ key : cache-build-windows
21+ path : |
22+ .haxelib/
23+ export/windows/haxe/
24+ export/windows/obj/
25+ restore-keys : |
26+ cache-build-windows
27+ - name : Installing / Updating libraries
2428 run : |
2529 haxe -cp cli --run Lib
26-
2730 - name : Building the game
2831 run : |
2932 haxelib run lime build windows
30-
3133 - name : Uploading artifact
3234 uses : actions/upload-artifact@v4
3335 with :
3436 name : LineTapper
3537 path : export/windows/bin
38+ - name : Uploading new cache
39+ uses : actions/cache@v3
40+ with :
41+ key : cache-build-windows
42+ path : |
43+ .haxelib/
44+ export/windows/haxe/
45+ export/windows/obj/
46+ restore-keys : |
47+ cache-build-windows
You can’t perform that action at this time.
0 commit comments