Skip to content

Latest commit

 

History

History
58 lines (42 loc) · 2 KB

README.md

File metadata and controls

58 lines (42 loc) · 2 KB

setup-nsis

License Release CI

Set up NSIS in your GitHub workflow.

Features

  • Supports Windows, Linux and macOS runners
  • Support special builds (large strings, logging)
  • Efficient build caching

Usage

- uses: nsis-dev/setup-nsis@v1
- run: makensis installer.nsi

With build options:

- uses: nsis-dev/setup-nsis@v1
  with:
    version: "latest"
    large-strings: false
    advanced-logging: false

Inputs

Name Default Description
version latest NSIS version, e.g. 3.12. latest resolves via SourceForge.
large-strings false NSIS_MAX_STRLEN=8192.
advanced-logging false NSIS_CONFIG_LOG=yes.

Note

On Windows, large-strings and advanced-logging cannot be combined: the action uses upstream's prebuilt special builds and there is no build that ships both. Enabling both fails the step.

Outputs

Name Description
version Resolved NSIS version.
nsisdir NSIS installation directory (also exported as NSISDIR).

On Linux and macOS, NSIS is built from source; on Windows the action installs upstream's prebuilt binaries. Either way the result is cached per OS, version and option combination, so only the first run pays the setup cost.

License

Apache License, Version 2.0