Publish to Pumpkin Market v0.0.7
Add this action after your workflow has built the plugin's .wasm file. It uploads that file to an existing Pumpkin Market listing; it won't build the plugin or create a listing for you. GitHub runs the action on Node 24, so you don't need actions/setup-node just for this step.
See the action guide and API reference on the documentation site.
steps:
- uses: filiphsps/pumpkin-plugins/actions/publish-to-pumpkin-market@publish-to-pumpkin-market-v0.0.7
with:
plugin-name: MyPlugin
version: 1.2.3
wasm-file: dist/my-plugin.wasm
api-token: ${{ secrets.MARKET_API_TOKEN }}
release-notes: |
## Changes
- Fix plugin behaviorThe example selects a listing by name. Name lookups read up to 10 pages of 20 Market search results for a case-insensitive exact match. If your workflow already has the listing's numeric database ID or public ID, use plugin-id for a direct lookup instead. Set exactly one of plugin-name and plugin-id.
The tag in the example is this action's Release Please tag. Action releases are independent of your plugin's version and of other action releases; Release Please updates the example tag when this action gets a new release. In this repository's own release workflows, the action is called from ./actions/publish-to-pumpkin-market.
Inputs
| Input | Required | Default | Description |
|---|---|---|---|
plugin-name | No | Exact listing name; set this or plugin-id, but not both | |
plugin-id | No | Numeric database ID or public ID; set this or plugin-name, but not both | |
version | Yes | Plugin version to publish, without a leading v | |
wasm-file | Yes | Path to the plugin .wasm file | |
api-token | No | Market API token with plugins:update and plugins:versions:upload scopes; required unless warn is true | |
api-url | No | https://market.pumpkinmc.org | Pumpkin Market base URL; must use https |
track | No | stable | Release track |
release-notes | No | "" | Release notes to include in Market version metadata |
warn | No | false | Warn instead of failing when credentials or the Market listing are unavailable |
Outputs
| Output | Description |
|---|---|
listing-id | Resolved numeric Market database ID |
listing-name | Canonical Market listing name |
status | Operation result (success or skipped) |
published-version | Version successfully published to the listing |
Give api-token a GitHub secret with the plugins:update and plugins:versions:upload scopes. By default, an empty token or a missing or unpublished listing fails the step. Set warn: true when you want those cases to produce a warning and skip the upload instead. Lookup and upload errors still fail the action. If the listing already has version, the action skips the upload and reports status: success. When GitHub provides a step summary, the action adds a result for both successful uploads and skipped uploads.