I am trying to create a GitHub action that will use Pynsist (a python package together with NSIS) to produce a build folder with the setup file my project on my github repository. I wondered if anyone has a working example of a YAML script that can be executed using github actions to essentially carry out the following:
- Installs NSIS onto the GitHub runner machine (not sure if this should be done on GitHub Ubuntu or Windows, or in conjunction with docker).
- Installs python 3.7.
- Installs pynsist and the other python dependencies
- Runs a python script which generates the installer.cfg file and then calls pynsist to execute the installer.cfg.
- Additional Extra... use 7zip to create a self extracting zip of the NSIS build folder using the following example (https://stackoverflow.com/a/30896241/12446456)
Any advice much appreciated. Thanks in advance.
Example file below which I managed to use to complete this task.