Updated GitHub Actions workflow to support both Windows and Linux builds with directory builds to reduce memory usage. Adjusted artifact handling and added archiving for build outputs.
This workflow defines a reusable build and release process for Python applications, including steps for building executables for both Windows and Linux, and creating a GitHub release.