Skip to content

[BUG] Unable to pass custom params via /D #28

@UMDev-Brian

Description

@UMDev-Brian

This is my job step:
- name: Create installer
uses: Minionguyjpro/Inno-Setup-Action@v1.2.4
with:
path: ./pos-service-setup.iss
options: /o+ /DMyAppVersion=${{steps.gitversion.outputs.MajorMinorPatch}} /DMyAppBuild=${{steps.gitversion.outputs.buildMetaData}} /DAppVersionInfo=${{steps.gitversion.outputs.semVer}} /DFrontendVersion="${{github.event.client_payload.version}}"
All of those parameters end up empty when the script is compiled. I even had one param hardcoded /DSourceDir=.\build, but that was also empty. I know my 'gitVersion' commands work because I'm using before and after this step. I also thought that maybe it has to do with spaces, but I've checked the all the data I'm trying to pass and none of it has spaces.

Am I missing something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions