diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 8eff253a..0d30ca46 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -25,6 +25,8 @@ jobs: .haxelib/ export/release/linux/haxe/ export/release/linux/obj/ + restore-keys: | + cache-build-linux - name: Setting up Haxelib run: | mkdir ".haxelib" @@ -33,9 +35,9 @@ jobs: run: | ls haxe -cp ./update -D analyzer-optimize -main Update --interp - # - name: Building the game - # run: | - # haxelib run lime build linux + - name: Building the game + run: | + haxelib run lime build linux - name: Artifact upload (entire build) uses: actions/upload-artifact@v2 with: diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 11e99ade..0140c6dd 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -20,9 +20,11 @@ jobs: # not caching the bin folder to prevent asset duplication and stuff like that key: cache-build-mac path: | - ~/.haxelib/ - ~/export/release/mac/haxe/ - ~/export/release/mac/obj/ + .haxelib/ + export/release/mac/haxe/ + export/release/mac/obj/ + restore-keys: | + cache-build-mac - name: Setting up Haxelib run: | mkdir ".haxelib" @@ -30,9 +32,9 @@ jobs: - name: Installing libraries run: | haxe -cp ./update -D analyzer-optimize -main Update --interp - # - name: Building the game - # run: | - # haxelib run lime build mac + - name: Building the game + run: | + haxelib run lime build mac - name: Artifact upload (entire build) uses: actions/upload-artifact@v2 with: