i hope it works

This commit is contained in:
Yoshman29
2023-01-07 19:45:33 +01:00
parent 26e7e97fb0
commit 31dd26babe
+16 -8
View File
@@ -31,13 +31,13 @@ jobs:
run: |
mkdir -p ".haxelib"
haxelib setup ".haxelib"
# - name: Installing libraries
# run: |
# ls
# haxe -cp ./update -D analyzer-optimize -main Update --interp
# - name: Building the game
# run: |
# haxelib run lime build linux
- name: Installing libraries
run: |
ls
haxe -cp ./update -D analyzer-optimize -main Update --interp
- name: Building the game
run: |
haxelib run lime build linux
- name: Artifact upload (entire build)
uses: actions/upload-artifact@v2
with:
@@ -57,5 +57,13 @@ jobs:
repo: context.repo.repo,
})
for (const cache of caches.data.actions_caches) {
console.log(cache)
if (cache.key == "cache-build-linux") {
console.log('Clearing ' + cache.key + '...')
github.rest.actions.deleteActionsCacheById({
owner: context.repo.owner,
repo: context.repo.repo,
cache_id: cache.id,
})
console.log("Cache cleared.")
}
}