diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 9988ea60..aeedd097 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -9,14 +9,14 @@ jobs: permissions: write-all runs-on: ubuntu-24.04 steps: - - name: Pulling the source - uses: actions/checkout@v2 + - name: Pulling the new commit + uses: actions/checkout@v4 - name: Setting up Haxe uses: krdlab/setup-haxe@v2 with: haxe-version: 4.3.7 - name: Restore existing build cache for faster compilation - uses: actions/cache@v3 + uses: actions/cache@v4.2.3 with: # not caching the bin folder to prevent asset duplication and stuff like that key: cache-build-linux @@ -24,8 +24,8 @@ jobs: .haxelib/ export/release/linux/haxe/ export/release/linux/obj/ - restore-keys: | - cache-build-linux + - run: | + echo "HXCPP_COMPILE_CACHE=~/.hxcpp" >> $GITHUB_ENV - name: Installing LibVLC run: | sudo apt-get install libvlc-dev libvlccore-dev @@ -67,7 +67,7 @@ jobs: } } - name: Uploading new cache - uses: actions/cache@v3 + uses: actions/cache@v4.2.3 with: # caching again since for some reason it doesnt work with the first post cache shit key: cache-build-linux @@ -75,5 +75,3 @@ jobs: .haxelib/ export/release/linux/haxe/ export/release/linux/obj/ - restore-keys: | - cache-build-linux diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 697f43ce..b7ee26eb 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -10,13 +10,13 @@ jobs: runs-on: macos-13 steps: - name: Pulling the new commit - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setting up Haxe uses: krdlab/setup-haxe@v2 with: haxe-version: 4.3.7 - name: Restore existing build cache for faster compilation - uses: actions/cache@v3 + uses: actions/cache@v4.2.3 with: # not caching the bin folder to prevent asset duplication and stuff like that key: cache-build-mac @@ -24,8 +24,8 @@ jobs: .haxelib/ export/release/macos/haxe/ export/release/macos/obj/ - restore-keys: | - cache-build-mac + - run: | + echo "HXCPP_COMPILE_CACHE=~/.hxcpp" >> $GITHUB_ENV - name: Installing/Updating libraries run: | haxe -cp commandline -D analyzer-optimize --run Main setup -s @@ -64,7 +64,7 @@ jobs: } } - name: Uploading new cache - uses: actions/cache@v3 + uses: actions/cache@v4.2.3 with: # caching again since for some reason it doesnt work with the first post cache shit key: cache-build-mac @@ -72,5 +72,3 @@ jobs: .haxelib/ export/release/macos/haxe/ export/release/macos/obj/ - restore-keys: | - cache-build-mac diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 4eccf978..9815a3e7 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -10,13 +10,13 @@ jobs: runs-on: windows-latest steps: - name: Pulling the new commit - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setting up Haxe uses: krdlab/setup-haxe@v2 with: haxe-version: 4.3.7 - name: Restore existing build cache for faster compilation - uses: actions/cache@v3 + uses: actions/cache@v4.2.3 with: # not caching the bin folder to prevent asset duplication and stuff like that key: cache-build-windows @@ -24,8 +24,8 @@ jobs: .haxelib/ export/release/windows/haxe/ export/release/windows/obj/ - restore-keys: | - cache-build-windows + - run: | + echo "HXCPP_COMPILE_CACHE=~/.hxcpp" >> $GITHUB_ENV - name: Installing/Updating libraries run: | haxe -cp commandline -D analyzer-optimize --run Main setup -s --no-vscheck @@ -62,7 +62,7 @@ jobs: } } - name: Uploading new cache - uses: actions/cache@v3 + uses: actions/cache@v4.2.3 with: # caching again since for some reason it doesnt work with the first post cache shit key: cache-build-windows @@ -70,5 +70,3 @@ jobs: .haxelib/ export/release/windows/haxe/ export/release/windows/obj/ - restore-keys: | - cache-build-windows