Skip to content
This repository was archived by the owner on Oct 18, 2025. It is now read-only.

Commit 1bd37ec

Browse files
cache (?)
1 parent 614d9f3 commit 1bd37ec

File tree

2 files changed

+55
-5
lines changed

2 files changed

+55
-5
lines changed

.github/workflows/windows-build-32.yaml

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,17 @@ jobs:
1717
- name: Setup Haxe
1818
uses: krdlab/setup-haxe@v1
1919
with:
20-
haxe-version: 4.3.6
20+
haxe-version: 4.3.7
21+
22+
- name: Restore Build Cache
23+
uses: actions/cache@v3
24+
with:
25+
key: cache-build-windows32
26+
path: |
27+
.haxelib/
28+
export/32bit/windows/haxe/
29+
export/32bit/windows/obj/
30+
restore-keys: cache-build-windows32
2131

2232
- name: Install Libraries
2333
run: setup/install-haxelibs.bat
@@ -29,4 +39,14 @@ jobs:
2939
uses: actions/upload-artifact@v4
3040
with:
3141
name: ALE Engine - Windows Build (32 Bits)
32-
path: export/32bit/windows/bin
42+
path: export/32bit/windows/bin
43+
44+
- name: Uploading New Cache
45+
uses: actions/cache@v3
46+
with:
47+
key: cache-build-windows
48+
path: |
49+
.haxelib/
50+
export/release/windows/haxe/
51+
export/release/windows/obj/
52+
restore-keys: cache-build-windows32

.github/workflows/windows-build.yaml

Lines changed: 33 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,32 @@ jobs:
1414
- name: Pull the New Commit
1515
uses: actions/checkout@v2
1616

17+
- name: Cache haxelib
18+
uses: actions/cache@v4
19+
with:
20+
path: |
21+
C:\Users\runneradmin\.haxelib
22+
C:\HaxeToolkit\haxe\lib
23+
key: haxelib-${{ hashFiles('setup/install-haxelibs.bat') }}
24+
restore-keys: |
25+
haxelib-
26+
1727
- name: Setup Haxe
1828
uses: krdlab/setup-haxe@v1
1929
with:
20-
haxe-version: 4.3.6
30+
haxe-version: 4.3.7
31+
32+
- name: Restore Build Cache
33+
uses: actions/cache@v3
34+
with:
35+
key: cache-build-windows
36+
path: |
37+
.haxelib/
38+
export/release/windows/haxe/
39+
export/release/windows/obj/
40+
restore-keys: cache-build-windows
2141

22-
- name: Install Libraries
42+
- name: Install/Updating Libraries
2343
run: setup/install-haxelibs.bat
2444

2545
- name: Build for Windows
@@ -29,4 +49,14 @@ jobs:
2949
uses: actions/upload-artifact@v4
3050
with:
3151
name: ALE Engine - Windows Build
32-
path: export/release/windows/bin
52+
path: export/release/windows/bin
53+
54+
- name: Uploading New Cache
55+
uses: actions/cache@v3
56+
with:
57+
key: cache-build-windows
58+
path: |
59+
.haxelib/
60+
export/release/windows/haxe/
61+
export/release/windows/obj/
62+
restore-keys: cache-build-windows

0 commit comments

Comments
 (0)