FritzAndFriends / StreamDeckToolkit

A .NET Standard library, template, and tools for building extensions to the Elgato Stream Deck
MIT License
164 stars 45 forks source link

[Feature Request] GitHub Action to create .streamDeckPlugin #159

Open AlexHedley opened 4 years ago

AlexHedley commented 4 years ago

Is your feature request related to a problem? Please describe. GitHub Action to create .streamDeckPlugin

From the Elgato Docs:

Describe the solution you'd like A GitHub action that can run the DistributionTool and produce a .streamDeckPlugin binary.

Steps

This could then be added to other Actions like

I've never written a GHA, can you distribute binaries like the DistributionTool with it? Would you just pull it from here and extract, seems a lot of work each time?


Tool Options

USAGE: DistributionTool [-h] [-b] [-v] [-i FILE] [-o DIRECTORY]

This tool can be used to validate and export plugins for the Elgato Stream Deck Plugin Store.

OPTIONAL ARGUMENTS:
-b, --build                        Verify and build a plugin.
-v, --version                      The version number of this tool.
-h, --help                         This help dialog.
-i FILE, --input FILE              Path to the plugin (.sdPlugin).
-o DIRECTORY, --output DIRECTORY   Path to the output directory.

For updates and further help visit https://developer.elgato.com.

Describe alternatives you've considered Manually running the above steps.

Additional context I've emailed Elgato asking if they are likely to produce their own GHA and what the options will be to upload to the store.

Is there one or more bugs reported related to this suggestion? If so, mention them below

144

158

AlexHedley commented 4 years ago

I've made some progress with this:

Action: https://github.com/AlexHedley/streamdeckplugindistribution-test-action (I'll make a new clean repo once it's working properly)

Test Repo: https://github.com/AlexHedley/sdpd-action-test

csharpfritz commented 4 years ago

That's a REALLY cool idea