Enables publishing a GitHub Release when the workflow is manually
triggered and the corresponding input is set, providing more
flexibility for release management beyond tag-based automation.
Switches from the default GitHub token to a specific release token
for artifact uploads, improving security and aligning with best
practices for token management.
Ensures the npm package version automatically matches the Git tag
during CI builds triggered by version tags, improving consistency
between releases and tags.
Limits uploaded and released artifacts to specific file types
to avoid unnecessary files, improving release clarity.
Adds artifact listing for easier debugging and ensures
release notes are auto-generated. Sets unmatched files
to not fail the release step for smoother automation.
Separates artifact release steps into a dedicated job triggered
only on tag refs, improving workflow clarity and ensuring that
release permissions are only granted when needed.
Sets the environment variable to disable publishing artifacts
when building for macOS and Windows. Ensures builds do not
accidentally trigger publish actions in CI environments.
Switches macOS package target from pkg to dmg and zip, disables hardened runtime, and sets code signing identity discovery off to resolve build issues. Removes an unused Windows-specific package to clean up dependencies.
Improves configuration security and flexibility by reading OAuth
client IDs and secrets from environment variables instead of
hardcoding them. Enables easier key management across environments
and adds support for Google client secret in token exchange flows.