nhartland / love-build

GitHub Action for building a LÖVE Project
https://github.com/marketplace/actions/love-build
MIT License
52 stars 8 forks source link

Fix: Stacking zip sizes #11

Closed RafaelWO closed 2 years ago

RafaelWO commented 2 years ago

Fixes #10

Changes

Explanation of the fix

For a repository with main.lua at its root, one could use the defaults for ${INPUT_SOURCE_DIR}, ${INPUT_RESULT_DIR} that are ./, release respectively. This results in the release directory being created within the main codebase under ./release. Hence, when creating the love file the previously built files within release also get zipped.

P.S. Feel free to squash the commits as my commit history is a bit messy.

nhartland commented 2 years ago

This is a great spot, thanks!