When zipping the files, the ${INPUT_RESULT_DIR} and all its content is ignored
The check for a main.lua file is now done in the source directory under the GitHub workspace, i.e. ${SOURCE_DIR}
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.
Fixes #10
Changes
${INPUT_RESULT_DIR}
and all its content is ignoredmain.lua
file is now done in the source directory under the GitHub workspace, i.e.${SOURCE_DIR}
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 therelease
directory being created within the main codebase under./release
. Hence, when creating the love file the previously built files withinrelease
also get zipped.P.S. Feel free to squash the commits as my commit history is a bit messy.