i hope it works
This commit is contained in:
@@ -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.")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user