|
23 | 23 | key: ${{ runner.os }}-haxelib-${{ hashFiles('.github/workflows/main.yml') }} |
24 | 24 | restore-keys: | |
25 | 25 | ${{ runner.os }}-haxelib- |
| 26 | + - name: Cache Build Artifacts |
| 27 | + uses: actions/cache@v3 |
| 28 | + with: |
| 29 | + path: | |
| 30 | + .haxelib |
| 31 | + export/release/linux/obj |
| 32 | + ~/.lime |
| 33 | + key: ${{ runner.os }}-build-${{ hashFiles('source/**/*.hx', 'Project.xml') }} |
| 34 | + restore-keys: | |
| 35 | + ${{ runner.os }}-build- |
26 | 36 | - run: | |
27 | 37 | haxe -version |
28 | 38 | haxelib install --quiet hxnodejs |
|
89 | 99 | key: ${{ runner.os }}-haxelib-${{ hashFiles('.github/workflows/main.yml') }} |
90 | 100 | restore-keys: | |
91 | 101 | ${{ runner.os }}-haxelib- |
| 102 | + - name: Cache Build Artifacts |
| 103 | + uses: actions/cache@v3 |
| 104 | + with: |
| 105 | + path: | |
| 106 | + .haxelib |
| 107 | + export/release/windows/obj |
| 108 | + ~/.lime |
| 109 | + key: ${{ runner.os }}-build-${{ hashFiles('source/**/*.hx', 'Project.xml') }} |
| 110 | + restore-keys: | |
| 111 | + ${{ runner.os }}-build- |
92 | 112 | - name: Install and Setup Haxelib |
93 | 113 | run: | |
94 | 114 | haxelib setup ~/haxelib |
@@ -166,6 +186,16 @@ jobs: |
166 | 186 | key: ${{ runner.os }}-haxelib-${{ hashFiles('.github/workflows/main.yml') }} |
167 | 187 | restore-keys: | |
168 | 188 | ${{ runner.os }}-haxelib- |
| 189 | + - name: Cache Build Artifacts |
| 190 | + uses: actions/cache@v3 |
| 191 | + with: |
| 192 | + path: | |
| 193 | + .haxelib |
| 194 | + export/release/macos/obj |
| 195 | + ~/.lime |
| 196 | + key: ${{ runner.os }}-build-${{ hashFiles('source/**/*.hx', 'Project.xml') }} |
| 197 | + restore-keys: | |
| 198 | + ${{ runner.os }}-build- |
169 | 199 | - name: Install and Setup Haxelib |
170 | 200 | run: | |
171 | 201 | haxelib setup ~/haxelib |
@@ -236,6 +266,17 @@ jobs: |
236 | 266 | restore-keys: | |
237 | 267 | ${{ runner.os }}-android-haxelib- |
238 | 268 | ${{ runner.os }}-haxelib- |
| 269 | + - name: Cache Build Artifacts |
| 270 | + uses: actions/cache@v3 |
| 271 | + with: |
| 272 | + path: | |
| 273 | + .haxelib |
| 274 | + export/release/android/obj |
| 275 | + ~/.lime |
| 276 | + key: ${{ runner.os }}-android-build-${{ hashFiles('source/**/*.hx', 'Project.xml') }} |
| 277 | + restore-keys: | |
| 278 | + ${{ runner.os }}-android-build- |
| 279 | + ${{ runner.os }}-build- |
239 | 280 | - name: Install specific NDK version |
240 | 281 | run: | |
241 | 282 | echo "y" | $ANDROID_SDK_ROOT/cmdline-tools/latest/bin/sdkmanager "ndk;21.4.7075529" |
@@ -338,6 +379,17 @@ jobs: |
338 | 379 | restore-keys: | |
339 | 380 | ${{ runner.os }}-ios-haxelib- |
340 | 381 | ${{ runner.os }}-haxelib- |
| 382 | + - name: Cache Build Artifacts |
| 383 | + uses: actions/cache@v3 |
| 384 | + with: |
| 385 | + path: | |
| 386 | + .haxelib |
| 387 | + export/release/ios/obj |
| 388 | + ~/.lime |
| 389 | + key: ${{ runner.os }}-ios-build-${{ hashFiles('source/**/*.hx', 'Project.xml') }} |
| 390 | + restore-keys: | |
| 391 | + ${{ runner.os }}-ios-build- |
| 392 | + ${{ runner.os }}-build- |
341 | 393 | - name: Install and Setup Haxelib |
342 | 394 | run: | |
343 | 395 | haxelib setup ~/haxelib |
|
0 commit comments