This action packs a Stream Deck plugin for release.
Important
This action depends on the StreamDeck SDK being installed by the project using the action. v2 of the action requires SDK version 1.8.0 or later.
Add the following step to your workflow:
- name: Pack
uses: neilenns/streamdeck-cli-pack@v2This will automatically pack the folder ending in .sdPlugin in the root of
your repository. The version will be set to either the release tag (e.g.
1.0.0.0 for a release tag of v1.0.0), or the run number if used in a pull
request workflow (e.g. 0.0.36.0 for run #36).
For a complete example of using this plugin in an end-to-end pull request validation workflow that attaches the packaged plug-in to the pull request as a comment see the StreamDeck-TrackAudio CI workflow and StreamDeck-TrackAudio artifact comment workflow.
For a complete example of using this plugin with an end-to-end release workflow that attaches the packaged plug-in to the GitHub release page see the StreamDeck-TrackAudio release workflow.
You can specify additional options using the with keyword:
- name: Pack
uses: neilenns/streamdeck-cli-pack@v1
with:
outputPath: 'dist'
path: 'com.example.myplugin.sdPlugin'
version: '1.1.0.0'Here are all the available options:
| Option | Description | Default |
|---|---|---|
force |
Overwrite the output file if it already exists. | false |
forceUpdateCheck |
Forces an update check for new validation rules. Cannot be used in conjunction with noUpdateCheck. Not particularly useful in CI builds since the command-line tool is installed fresh every run, which results in an update check. Included in this action for completeness. | false |
ignoreValidation |
Bypasses validation errors (not recommended) | false |
noFileList |
Disables the display of the packed file list after packing. | false |
noUpdateCheck |
Disables the update check for new validation rules. Cannot be used in conjunction with forceUpdateCheck. | false |
outputPath |
The path to save the packed plugin to | The workflow working directory |
path |
The path to the plugin to pack | The first *.sdPlugin folder in the workflow working directory |
version |
The version to set in the plugin | The release tag or pull request number |
dryRun |
Generates a report without creating a package | false |