update workflow

This commit is contained in:
joneugster
2023-11-28 14:41:01 +01:00
parent ea0b19911f
commit 8feb114e90

View File

@@ -40,18 +40,14 @@ jobs:
- name: delete unused mathlib cache - name: delete unused mathlib cache
continue-on-error: true continue-on-error: true
run: find ./lake-packages/mathlib/build/lib -type f \( -name "*.olean" -o -name "*.olean.hash" \) \! -neweraa ./tmp_timestamp -delete -print run: find ./.lake/packages/mathlib/.lake/build/lib -type f \( -name "*.olean" -o -name "*.olean.hash" \) \! -neweraa ./tmp_timestamp -delete -print
- name: delete timestamp file - name: delete timestamp file
run: rm ./tmp_timestamp run: rm ./tmp_timestamp
- name: compress built game - name: compress built game
#run: tar -czvf ../game.tar.gz . #run: tar -czvf ../game.tar.gz .
run: zip game.zip ./* -r run: zip game.zip * .lake/ -r
# - name: hack. move compressed artifact back
# run: mv ../game.tar.gz ./game.tar.gz
# # run: zip game.zip ./* -r
- name: upload compressed game folder - name: upload compressed game folder
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3