Skip to content

How to run wingetcreate new non-interactively? #189

@ldennington

Description

@ldennington

Discussed in #188

Creating an issue for visibility.

Originally posted by ldennington October 14, 2021
Hello,

I'm reaching out because I'm interested in using wingetcreate in my GitHub Actions workflows to publish packages my team owns to winget. We are currently using a custom task (see example here), which has been a pain point since the manifest specification changes frequently.

In light of this, I'm reaching out to see whether it's possible to run wingetcreate new non-interactively. Whenever I run any of the following locally, I'm prompted to manually accept/override the default values from my installer:

wingetcreate new https://github.com/ldennington/Git-Credential-Manager-Core/releases/download/winget_test/gcmcore-win-x86-2.0.559.38027.exe --out manifests --token <insert-token-here>
wingetcreate new https://github.com/ldennington/Git-Credential-Manager-Core/releases/download/winget_test/gcmcore-win-x86-2.0.559.38027.exe

I see the example shows the wingetcreate update command in a pipeline, but not wingetcreate new, which prompted me to ask this question.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions