@@ -16,15 +16,14 @@ jobs:
1616 uses : krdlab/setup-haxe@v2
1717 with :
1818 haxe-version : 4.3.7
19- - name : Restore existing build cache for faster compilation
20- uses : actions/cache@v4.2.3
21- with :
22- # not caching the bin folder to prevent asset duplication and stuff like that
23- key : cache-build-linux
24- path : |
25- .haxelib/
26- export/release/linux/haxe/
27- export/release/linux/obj/
19+ # - name: Restore existing build cache for faster compilation
20+ # uses: actions/cache@v4.2.3
21+ # with:
22+ # # not caching the bin folder to prevent asset duplication and stuff like that
23+ # key: cache-build-linux
24+ # path: |
25+ # .haxelib/
26+ # export/release/linux/obj/
2827 - run : |
2928 echo "HXCPP_COMPILE_CACHE=~/.hxcpp" >> $GITHUB_ENV
3029 - name : Installing LibVLC
@@ -48,34 +47,33 @@ jobs:
4847 with :
4948 name : Codename Engine
5049 path : export/release/linux/bin/
51- - name : Clearing already existing cache
52- uses : actions/github-script@v6
53- with :
54- script : |
55- const caches = await github.rest.actions.getActionsCacheList({
56- owner: context.repo.owner,
57- repo: context.repo.repo,
58- })
59- for (const cache of caches.data.actions_caches) {
60- if (cache.key == "cache-build-linux") {
61- console.log('Clearing ' + cache.key + '...')
62- await github.rest.actions.deleteActionsCacheById({
63- owner: context.repo.owner,
64- repo: context.repo.repo,
65- cache_id: cache.id,
66- })
67- console.log("Cache cleared.")
68- }
69- }
70- - name : Uploading new cache
71- uses : actions/cache@v4.2.3
72- with :
73- # caching again since for some reason it doesnt work with the first post cache shit
74- key : cache-build-linux
75- path : |
76- .haxelib/
77- export/release/linux/haxe/
78- export/release/linux/obj/
50+ # - name: Clearing already existing cache
51+ # uses: actions/github-script@v6
52+ # with:
53+ # script: |
54+ # const caches = await github.rest.actions.getActionsCacheList({
55+ # owner: context.repo.owner,
56+ # repo: context.repo.repo,
57+ # })
58+ # for (const cache of caches.data.actions_caches) {
59+ # if (cache.key == "cache-build-linux") {
60+ # console.log('Clearing ' + cache.key + '...')
61+ # await github.rest.actions.deleteActionsCacheById({
62+ # owner: context.repo.owner,
63+ # repo: context.repo.repo,
64+ # cache_id: cache.id,
65+ # })
66+ # console.log("Cache cleared.")
67+ # }
68+ # }
69+ # - name: Uploading new cache
70+ # uses: actions/cache@v4.2.3
71+ # with:
72+ # # caching again since for some reason it doesnt work with the first post cache shit
73+ # key: cache-build-linux
74+ # path: |
75+ # .haxelib/
76+ # export/release/linux/obj/
7977
8078# didnt compile debug in the same job or github would have said that job wasn't completed until debug was done too (debug uploads are not essential)
8179 debug_build :
@@ -90,15 +88,14 @@ jobs:
9088 uses : krdlab/setup-haxe@v2
9189 with :
9290 haxe-version : 4.3.7
93- - name : Restore existing build cache for faster compilation
94- uses : actions/cache@v4.2.3
95- with :
96- # not caching the bin folder to prevent asset duplication and stuff like that
97- key : cache-build-linux-debug
98- path : |
99- .haxelib/
100- export/debug/linux/haxe/
101- export/debug/linux/obj/
91+ # - name: Restore existing build cache for faster compilation
92+ # uses: actions/cache@v4.2.3
93+ # with:
94+ # # not caching the bin folder to prevent asset duplication and stuff like that
95+ # key: cache-build-linux-debug
96+ # path: |
97+ # .haxelib/
98+ # export/debug/linux/obj/
10299 - run : |
103100 echo "HXCPP_COMPILE_CACHE=~/.hxcpp" >> $GITHUB_ENV
104101 - name : Installing LibVLC
@@ -117,31 +114,30 @@ jobs:
117114 with :
118115 name : Codename Engine Debug
119116 path : export/debug/linux/bin/
120- - name : Clearing already existing cache
121- uses : actions/github-script@v6
122- with :
123- script : |
124- const caches = await github.rest.actions.getActionsCacheList({
125- owner: context.repo.owner,
126- repo: context.repo.repo,
127- })
128- for (const cache of caches.data.actions_caches) {
129- if (cache.key == "cache-build-linux-debug") {
130- console.log('Clearing ' + cache.key + '...')
131- await github.rest.actions.deleteActionsCacheById({
132- owner: context.repo.owner,
133- repo: context.repo.repo,
134- cache_id: cache.id,
135- })
136- console.log("Cache cleared.")
137- }
138- }
139- - name : Uploading new cache
140- uses : actions/cache@v4.2.3
141- with :
142- # caching again since for some reason it doesnt work with the first post cache shit
143- key : cache-build-linux-debug
144- path : |
145- .haxelib/
146- export/debug/linux/haxe/
147- export/debug/linux/obj/
117+ # - name: Clearing already existing cache
118+ # uses: actions/github-script@v6
119+ # with:
120+ # script: |
121+ # const caches = await github.rest.actions.getActionsCacheList({
122+ # owner: context.repo.owner,
123+ # repo: context.repo.repo,
124+ # })
125+ # for (const cache of caches.data.actions_caches) {
126+ # if (cache.key == "cache-build-linux-debug") {
127+ # console.log('Clearing ' + cache.key + '...')
128+ # await github.rest.actions.deleteActionsCacheById({
129+ # owner: context.repo.owner,
130+ # repo: context.repo.repo,
131+ # cache_id: cache.id,
132+ # })
133+ # console.log("Cache cleared.")
134+ # }
135+ # }
136+ # - name: Uploading new cache
137+ # uses: actions/cache@v4.2.3
138+ # with:
139+ # # caching again since for some reason it doesnt work with the first post cache shit
140+ # key: cache-build-linux-debug
141+ # path: |
142+ # .haxelib/
143+ # export/debug/linux/obj/
0 commit comments