Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ jobs:
runs-on: ubuntu-24.04
steps:
- name: Pulling the new commit
uses: actions/checkout@v6
uses: actions/checkout@v7
with:
fetch-depth: 0
- name: Setting up Haxe
uses: krdlab/setup-haxe@v2
with:
haxe-version: ${{ env.HAXE_VERSION }}
# - name: Restore existing build cache for faster compilation
# uses: actions/cache@v4.2.3
# uses: actions/cache@v6
# with:
# # not caching the bin folder to prevent asset duplication and stuff like that
# key: cache-build-linux
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
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({
Expand All @@ -84,7 +84,7 @@ jobs:
# }
# }
# - name: Uploading new cache
# uses: actions/cache@v4.2.3
# uses: actions/cache@v6
# with:
# # caching again since for some reason it doesnt work with the first post cache shit
# key: cache-build-linux
Expand All @@ -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
- name: Setting up Haxe
uses: krdlab/setup-haxe@v2
with:
haxe-version: ${{ env.HAXE_VERSION }}
# - name: Restore existing build cache for faster compilation
# uses: actions/cache@v4.2.3
# uses: actions/cache@v6
# with:
# # not caching the bin folder to prevent asset duplication and stuff like that
# key: cache-build-linux-debug
Expand Down Expand Up @@ -143,7 +143,7 @@ jobs:
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({
Expand All @@ -162,7 +162,7 @@ jobs:
# }
# }
# - name: Uploading new cache
# uses: actions/cache@v4.2.3
# uses: actions/cache@v6
# with:
# # caching again since for some reason it doesnt work with the first post cache shit
# key: cache-build-linux-debug
Expand Down
60 changes: 30 additions & 30 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,18 @@ jobs:
runs-on: macos-26
steps:
- name: Pulling the new commit
uses: actions/checkout@v6
uses: actions/checkout@v7
with:
fetch-depth: 0
- name: Setting up Haxe
uses: krdlab/setup-haxe@v2
with:
haxe-version: ${{ env.HAXE_VERSION }}
# - name: Restore existing build cache for faster compilation
# uses: actions/cache@v4.2.3
# uses: actions/cache@v6
# with:
# # not caching the bin folder to prevent asset duplication and stuff like that
# key: cache-build-mac
# key: cache-build-mac-intel
# path: |
# .haxelib/
# export/release/macos/obj/
Expand All @@ -41,7 +41,7 @@ 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 .
Expand All @@ -51,15 +51,15 @@ jobs:
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({
# owner: context.repo.owner,
# repo: context.repo.repo,
# })
# for (const cache of caches.data.actions_caches) {
# if (cache.key == "cache-build-mac") {
# if (cache.key == "cache-build-mac-intel") {
# console.log('Clearing ' + cache.key + '...')
# await github.rest.actions.deleteActionsCacheById({
# owner: context.repo.owner,
Expand All @@ -70,10 +70,10 @@ jobs:
# }
# }
# - name: Uploading new cache
# uses: actions/cache@v4.2.3
# uses: actions/cache@v6
# with:
# # caching again since for some reason it doesnt work with the first post cache shit
# key: cache-build-mac
# key: cache-build-mac-intel
# path: |
# .haxelib/
# export/release/macos/obj/
Expand All @@ -84,18 +84,18 @@ jobs:
runs-on: macos-26
steps:
- name: Pulling the new commit
uses: actions/checkout@v6
uses: actions/checkout@v7
with:
fetch-depth: 0
- name: Setting up Haxe
uses: krdlab/setup-haxe@v2
with:
haxe-version: ${{ env.HAXE_VERSION }}
# - name: Restore existing build cache for faster compilation
# uses: actions/cache@v4.2.3
# uses: actions/cache@v6
# with:
# # not caching the bin folder to prevent asset duplication and stuff like that
# key: cache-build-mac
# key: cache-build-mac-arm
# path: |
# .haxelib/
# export/release/macos/obj/
Expand All @@ -119,15 +119,15 @@ jobs:
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({
# owner: context.repo.owner,
# repo: context.repo.repo,
# })
# for (const cache of caches.data.actions_caches) {
# if (cache.key == "cache-build-mac") {
# if (cache.key == "cache-build-mac-arm") {
# console.log('Clearing ' + cache.key + '...')
# await github.rest.actions.deleteActionsCacheById({
# owner: context.repo.owner,
Expand All @@ -138,10 +138,10 @@ jobs:
# }
# }
# - name: Uploading new cache
# uses: actions/cache@v4.2.3
# uses: actions/cache@v6
# with:
# # caching again since for some reason it doesnt work with the first post cache shit
# key: cache-build-mac
# key: cache-build-mac-arm
# path: |
# .haxelib/
# export/release/macos/obj/
Expand Down Expand Up @@ -200,16 +200,16 @@ 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
- name: Setting up Haxe
uses: krdlab/setup-haxe@v2
with:
haxe-version: ${{ env.HAXE_VERSION }}
# - name: Restore existing build cache for faster compilation
# uses: actions/cache@v4.2.3
# uses: actions/cache@v6
# with:
# # not caching the bin folder to prevent asset duplication and stuff like that
# key: cache-build-mac-debug
# key: cache-build-mac-intel-debug
# path: |
# .haxelib/
# export/debug/macos/obj/
Expand All @@ -224,7 +224,7 @@ 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 .
Expand All @@ -234,15 +234,15 @@ jobs:
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({
# owner: context.repo.owner,
# repo: context.repo.repo,
# })
# for (const cache of caches.data.actions_caches) {
# if (cache.key == "cache-build-mac-debug") {
# if (cache.key == "cache-build-mac-intel-debug") {
# console.log('Clearing ' + cache.key + '...')
# await github.rest.actions.deleteActionsCacheById({
# owner: context.repo.owner,
Expand All @@ -253,10 +253,10 @@ jobs:
# }
# }
# - name: Uploading new cache
# uses: actions/cache@v4.2.3
# uses: actions/cache@v6
# with:
# # caching again since for some reason it doesnt work with the first post cache shit
# key: cache-build-mac-debug
# key: cache-build-mac-intel-debug
# path: |
# .haxelib/
# export/debug/macos/obj/
Expand All @@ -268,16 +268,16 @@ 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
- name: Setting up Haxe
uses: krdlab/setup-haxe@v2
with:
haxe-version: ${{ env.HAXE_VERSION }}
# - name: Restore existing build cache for faster compilation
# uses: actions/cache@v4.2.3
# uses: actions/cache@v6
# with:
# # not caching the bin folder to prevent asset duplication and stuff like that
# key: cache-build-mac-debug
# key: cache-build-mac-arm-debug
# path: |
# .haxelib/
# export/debug/macos/obj/
Expand All @@ -301,15 +301,15 @@ jobs:
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({
# owner: context.repo.owner,
# repo: context.repo.repo,
# })
# for (const cache of caches.data.actions_caches) {
# if (cache.key == "cache-build-mac-debug") {
# if (cache.key == "cache-build-mac-arm-debug") {
# console.log('Clearing ' + cache.key + '...')
# await github.rest.actions.deleteActionsCacheById({
# owner: context.repo.owner,
Expand All @@ -320,10 +320,10 @@ jobs:
# }
# }
# - name: Uploading new cache
# uses: actions/cache@v4.2.3
# uses: actions/cache@v6
# with:
# # caching again since for some reason it doesnt work with the first post cache shit
# key: cache-build-mac-debug
# key: cache-build-mac-arm-debug
# path: |
# .haxelib/
# export/debug/macos/obj/
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,52 +21,52 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@v7
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
path: artifacts/windows/full_build
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)
path: artifacts/windows/executable
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
path: artifacts/macos/full_build
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)
path: artifacts/macos/executable
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
path: artifacts/linux/full_build
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)
Expand Down Expand Up @@ -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
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down
Loading