diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 90a119bed3..5f214179bc 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -15,15 +15,15 @@ jobs: runs-on: ubuntu-24.04 steps: - name: Pulling the new commit - uses: actions/checkout@v6 + uses: actions/checkout@v7.0.1 with: fetch-depth: 0 - name: Setting up Haxe - uses: krdlab/setup-haxe@v2 + uses: krdlab/setup-haxe@v2.1.0 with: haxe-version: ${{ env.HAXE_VERSION }} # - name: Restore existing build cache for faster compilation - # uses: actions/cache@v4.2.3 + # uses: actions/cache@v6.1.0 # with: # # not caching the bin folder to prevent asset duplication and stuff like that # key: cache-build-linux @@ -55,17 +55,17 @@ jobs: # - name: Tar files # run: tar -zcvf CodenameEngine.tar.gz -C export/release/linux/bin . - name: Uploading artifact (executable) - uses: actions/upload-artifact@v7 + uses: actions/upload-artifact@v7.0.1 with: name: Codename Engine (Executable Only) path: export/release/linux/bin/CodenameEngine - name: Uploading artifact (entire build) - uses: actions/upload-artifact@v7 + uses: actions/upload-artifact@v7.0.1 with: name: Codename Engine path: export/release/linux/bin/ # - name: Clearing already existing cache - # uses: actions/github-script@v6 + # uses: actions/github-script@v9 # with: # script: | # const caches = await github.rest.actions.getActionsCacheList({ @@ -84,7 +84,7 @@ jobs: # } # } # - name: Uploading new cache - # uses: actions/cache@v4.2.3 + # uses: actions/cache@v6.1.0 # with: # # caching again since for some reason it doesnt work with the first post cache shit # key: cache-build-linux @@ -100,13 +100,13 @@ jobs: needs: build # since its low priority, it'll run after, so actions will concentrate first on normal builds steps: - name: Pulling the new commit - uses: actions/checkout@v6 + uses: actions/checkout@v7.0.1 - name: Setting up Haxe - uses: krdlab/setup-haxe@v2 + uses: krdlab/setup-haxe@v2.1.0 with: haxe-version: ${{ env.HAXE_VERSION }} # - name: Restore existing build cache for faster compilation - # uses: actions/cache@v4.2.3 + # uses: actions/cache@v6.1.0 # with: # # not caching the bin folder to prevent asset duplication and stuff like that # key: cache-build-linux-debug @@ -138,12 +138,12 @@ jobs: # - name: Tar files # run: tar -zcvf CodenameEngine.tar.gz -C export/debug/linux/bin . - name: Uploading artifact (entire build) - uses: actions/upload-artifact@v7 + uses: actions/upload-artifact@v7.0.1 with: name: Codename Engine Debug path: export/debug/linux/bin/ # - name: Clearing already existing cache - # uses: actions/github-script@v6 + # uses: actions/github-script@v9 # with: # script: | # const caches = await github.rest.actions.getActionsCacheList({ @@ -162,7 +162,7 @@ jobs: # } # } # - name: Uploading new cache - # uses: actions/cache@v4.2.3 + # uses: actions/cache@v6.1.0 # with: # # caching again since for some reason it doesnt work with the first post cache shit # key: cache-build-linux-debug diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index ba2bfcb48b..491bda582f 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -15,15 +15,15 @@ jobs: runs-on: macos-26 steps: - name: Pulling the new commit - uses: actions/checkout@v6 + uses: actions/checkout@v7.0.1 with: fetch-depth: 0 - name: Setting up Haxe - uses: krdlab/setup-haxe@v2 + uses: krdlab/setup-haxe@v2.1.0 with: haxe-version: ${{ env.HAXE_VERSION }} # - name: Restore existing build cache for faster compilation - # uses: actions/cache@v4.2.3 + # uses: actions/cache@v6.1.0 # with: # # not caching the bin folder to prevent asset duplication and stuff like that # key: cache-build-mac @@ -41,17 +41,17 @@ jobs: haxelib run lime setup -alias -y -nocffi haxelib run lime rebuild hxcpp haxelib run lime rebuild tools - haxelib run lime rebuild mac -64 -nocolor -release + arch -x86_64 haxelib run lime rebuild mac -nocolor -release arch -x86_64 haxelib run lime build mac -DCOMPILE_EXPERIMENTAL - name: Tar files run: tar -zcvf CodenameEngine.tar.gz -C export/release/macos/bin . - name: Uploading artifact (entire build) - uses: actions/upload-artifact@v7 + uses: actions/upload-artifact@v7.0.1 with: name: Codename Engine-x64 path: CodenameEngine.tar.gz # - name: Clearing already existing cache - # uses: actions/github-script@v6 + # uses: actions/github-script@v9 # with: # script: | # const caches = await github.rest.actions.getActionsCacheList({ @@ -70,7 +70,7 @@ jobs: # } # } # - name: Uploading new cache - # uses: actions/cache@v4.2.3 + # uses: actions/cache@v6.1.0 # with: # # caching again since for some reason it doesnt work with the first post cache shit # key: cache-build-mac @@ -84,15 +84,15 @@ jobs: runs-on: macos-26 steps: - name: Pulling the new commit - uses: actions/checkout@v6 + uses: actions/checkout@v7.0.1 with: fetch-depth: 0 - name: Setting up Haxe - uses: krdlab/setup-haxe@v2 + uses: krdlab/setup-haxe@v2.1.0 with: haxe-version: ${{ env.HAXE_VERSION }} # - name: Restore existing build cache for faster compilation - # uses: actions/cache@v4.2.3 + # uses: actions/cache@v6.1.0 # with: # # not caching the bin folder to prevent asset duplication and stuff like that # key: cache-build-mac @@ -114,12 +114,12 @@ jobs: - name: Tar files run: tar -zcvf CodenameEngine.tar.gz -C export/release/macos/bin . - name: Uploading artifact (entire build) - uses: actions/upload-artifact@v7 + uses: actions/upload-artifact@v7.0.1 with: name: Codename Engine-ARM64 path: CodenameEngine.tar.gz # - name: Clearing already existing cache - # uses: actions/github-script@v6 + # uses: actions/github-script@v9 # with: # script: | # const caches = await github.rest.actions.getActionsCacheList({ @@ -138,7 +138,7 @@ jobs: # } # } # - name: Uploading new cache - # uses: actions/cache@v4.2.3 + # uses: actions/cache@v6.1.0 # with: # # caching again since for some reason it doesnt work with the first post cache shit # key: cache-build-mac @@ -155,12 +155,12 @@ jobs: - arm_build steps: - name: Download Mac OS x64 Full Build - uses: actions/download-artifact@v8 + uses: actions/download-artifact@v8.0.1 with: name: Codename Engine-x64 path: intel - name: Download Mac OS ARM64 Full Build - uses: actions/download-artifact@v8 + uses: actions/download-artifact@v8.0.1 with: name: Codename Engine-ARM64 path: arm @@ -187,7 +187,7 @@ jobs: name: Codename Engine (Executable Only) path: CodenameEngine.app/Contents/MacOS/CodenameEngine - name: Uploading Universal Mac OS bundle - uses: actions/upload-artifact@v7 + uses: actions/upload-artifact@v7.0.1 with: name: Codename Engine path: CodenameEngine.app @@ -200,13 +200,13 @@ jobs: needs: universal_build # since its low priority, it'll run after, so actions will concentrate first on normal builds steps: - name: Pulling the new commit - uses: actions/checkout@v6 + uses: actions/checkout@v7.0.1 - name: Setting up Haxe - uses: krdlab/setup-haxe@v2 + uses: krdlab/setup-haxe@v2.1.0 with: haxe-version: ${{ env.HAXE_VERSION }} # - name: Restore existing build cache for faster compilation - # uses: actions/cache@v4.2.3 + # uses: actions/cache@v6.1.0 # with: # # not caching the bin folder to prevent asset duplication and stuff like that # key: cache-build-mac-debug @@ -224,17 +224,17 @@ jobs: haxelib run lime setup -alias -y -nocffi haxelib run lime rebuild hxcpp haxelib run lime rebuild tools - haxelib run lime rebuild mac -64 -nocolor -release + arch -x86_64 haxelib run lime rebuild mac -nocolor -release arch -x86_64 haxelib run lime build mac -debug -DCOMPILE_EXPERIMENTAL - name: Tar files run: tar -zcvf CodenameEngine.tar.gz -C export/debug/macos/bin . - name: Uploading artifact (entire build) - uses: actions/upload-artifact@v7 + uses: actions/upload-artifact@v7.0.1 with: name: Codename Engine-x64 Debug path: CodenameEngine.tar.gz # - name: Clearing already existing cache - # uses: actions/github-script@v6 + # uses: actions/github-script@v9 # with: # script: | # const caches = await github.rest.actions.getActionsCacheList({ @@ -253,7 +253,7 @@ jobs: # } # } # - name: Uploading new cache - # uses: actions/cache@v4.2.3 + # uses: actions/cache@v6.1.0 # with: # # caching again since for some reason it doesnt work with the first post cache shit # key: cache-build-mac-debug @@ -268,13 +268,13 @@ jobs: needs: universal_build # since its low priority, it'll run after, so actions will concentrate first on normal builds steps: - name: Pulling the new commit - uses: actions/checkout@v6 + uses: actions/checkout@v7.0.1 - name: Setting up Haxe - uses: krdlab/setup-haxe@v2 + uses: krdlab/setup-haxe@v2.1.0 with: haxe-version: ${{ env.HAXE_VERSION }} # - name: Restore existing build cache for faster compilation - # uses: actions/cache@v4.2.3 + # uses: actions/cache@v6.1.0 # with: # # not caching the bin folder to prevent asset duplication and stuff like that # key: cache-build-mac-debug @@ -296,12 +296,12 @@ jobs: - name: Tar files run: tar -zcvf CodenameEngine.tar.gz -C export/debug/macos/bin . - name: Uploading artifact (entire build) - uses: actions/upload-artifact@v7 + uses: actions/upload-artifact@v7.0.1 with: name: Codename Engine-ARM64 Debug path: CodenameEngine.tar.gz # - name: Clearing already existing cache - # uses: actions/github-script@v6 + # uses: actions/github-script@v9 # with: # script: | # const caches = await github.rest.actions.getActionsCacheList({ @@ -320,7 +320,7 @@ jobs: # } # } # - name: Uploading new cache - # uses: actions/cache@v4.2.3 + # uses: actions/cache@v6.1.0 # with: # # caching again since for some reason it doesnt work with the first post cache shit # key: cache-build-mac-debug @@ -337,12 +337,12 @@ jobs: - arm_debug_build steps: - name: Download Mac OS x64 Full Build - uses: actions/download-artifact@v8 + uses: actions/download-artifact@v8.0.1 with: name: Codename Engine-x64 Debug path: intel - name: Download Mac OS ARM64 Full Build - uses: actions/download-artifact@v8 + uses: actions/download-artifact@v8.0.1 with: name: Codename Engine-ARM64 Debug path: arm @@ -364,7 +364,7 @@ jobs: lipo -create "$INTEL/CodenameEngine" "$ARM/CodenameEngine" -output "$BIN/CodenameEngine" lipo -create "$INTEL/lime.ndll" "$ARM/lime.ndll" -output "$BIN/lime.ndll" - name: Uploading Universal Mac OS bundle - uses: actions/upload-artifact@v7 + uses: actions/upload-artifact@v7.0.1 with: name: Codename Engine Debug path: CodenameEngine.app diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3e78c83f20..74b8614bfd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,12 +21,12 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@v7.0.1 with: fetch-depth: 0 - name: Download Windows Full Build - uses: dawidd6/action-download-artifact@v8 + uses: dawidd6/action-download-artifact@v24 with: workflow: windows.yml name: Codename Engine @@ -34,7 +34,7 @@ jobs: allow_forks: false - name: Download Windows Executable - uses: dawidd6/action-download-artifact@v8 + uses: dawidd6/action-download-artifact@v24 with: workflow: windows.yml name: Codename Engine (Executable Only) @@ -42,7 +42,7 @@ jobs: allow_forks: false - name: Download Mac OS Full Build - uses: dawidd6/action-download-artifact@v8 + uses: dawidd6/action-download-artifact@v24 with: workflow: macos.yml name: Codename Engine @@ -50,7 +50,7 @@ jobs: allow_forks: false - name: Download Mac OS Executable - uses: dawidd6/action-download-artifact@v8 + uses: dawidd6/action-download-artifact@v24 with: workflow: macos.yml name: Codename Engine (Executable Only) @@ -58,7 +58,7 @@ jobs: allow_forks: false - name: Download Linux Full Build - uses: dawidd6/action-download-artifact@v8 + uses: dawidd6/action-download-artifact@v24 with: workflow: linux.yml name: Codename Engine @@ -66,7 +66,7 @@ jobs: allow_forks: false - name: Download Linux Executable - uses: dawidd6/action-download-artifact@v8 + uses: dawidd6/action-download-artifact@v24 with: workflow: linux.yml name: Codename Engine (Executable Only) @@ -178,7 +178,7 @@ jobs: echo -e "Final pre-changelog message:\n\n$BODY" - name: Create GitHub Release with Assets - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v3.0.1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index ffaf51af8c..0c1216b04a 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -15,15 +15,15 @@ jobs: runs-on: windows-latest steps: - name: Pulling the new commit - uses: actions/checkout@v6 + uses: actions/checkout@v7.0.1 with: fetch-depth: 0 - name: Setting up Haxe - uses: krdlab/setup-haxe@v2 + uses: krdlab/setup-haxe@v2.1.0 with: haxe-version: ${{ env.HAXE_VERSION }} # - name: Restore existing build cache for faster compilation - # uses: actions/cache@v4.2.3 + # uses: actions/cache@v6.1.0 # with: # # not caching the bin folder to prevent asset duplication and stuff like that # key: cache-build-windows @@ -41,19 +41,19 @@ jobs: haxelib run lime rebuild windows -nocolor -release haxelib run lime build windows -DCOMPILE_EXPERIMENTAL - name: Uploading artifact (executable) - uses: actions/upload-artifact@v7 + uses: actions/upload-artifact@v7.0.1 with: name: Codename Engine (Executable Only) path: | export/release/windows/bin/CodenameEngine.exe export/release/windows/bin/lime.ndll - name: Uploading artifact (entire build) - uses: actions/upload-artifact@v7 + uses: actions/upload-artifact@v7.0.1 with: name: Codename Engine path: export/release/windows/bin # - name: Clearing already existing cache - # uses: actions/github-script@v6 + # uses: actions/github-script@v9 # with: # script: | # const caches = await github.rest.actions.getActionsCacheList({ @@ -72,7 +72,7 @@ jobs: # } # } # - name: Uploading new cache - # uses: actions/cache@v4.2.3 + # uses: actions/cache@v6.1.0 # with: # # caching again since for some reason it doesnt work with the first post cache shit # key: cache-build-windows @@ -88,13 +88,13 @@ jobs: needs: build # since its low priority, it'll run after, so actions will concentrate first on normal builds steps: - name: Pulling the new commit - uses: actions/checkout@v6 + uses: actions/checkout@v7.0.1 - name: Setting up Haxe - uses: krdlab/setup-haxe@v2 + uses: krdlab/setup-haxe@v2.1.0 with: haxe-version: ${{ env.HAXE_VERSION }} # - name: Restore existing build cache for faster compilation - # uses: actions/cache@v4.2.3 + # uses: actions/cache@v6.1.0 # with: # # not caching the bin folder to prevent asset duplication and stuff like that # key: cache-build-windows-debug @@ -113,12 +113,12 @@ jobs: haxelib run lime rebuild windows -nocolor -release haxelib run lime build windows -debug - name: Uploading artifact (entire build) - uses: actions/upload-artifact@v7 + uses: actions/upload-artifact@v7.0.1 with: name: Codename Engine Debug path: export/debug/windows/bin # - name: Clearing already existing cache - # uses: actions/github-script@v6 + # uses: actions/github-script@v9 # with: # script: | # const caches = await github.rest.actions.getActionsCacheList({ @@ -137,7 +137,7 @@ jobs: # } # } # - name: Uploading new cache - # uses: actions/cache@v4.2.3 + # uses: actions/cache@v6.1.0 # with: # # caching again since for some reason it doesnt work with the first post cache shit # key: cache-build-windows-debug