Set up NSIS in your GitHub workflow.
- uses: nsis-dev/setup-nsis@v1
- run: makensis installer.nsiWith build options:
- uses: nsis-dev/setup-nsis@v1
with:
version: "latest"
large-strings: false
advanced-logging: false| 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.
| 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.