Thanks to visit codestin.com
Credit goes to github.com

Skip to content

DjLeChuck/foundryvtt-publish-package-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FoundryVTT publish package action

This action allow you to publish a package on the FoundryVTT website.

Inputs

Required

token

Package Release Token - Found accessing the edit page of your package on the FoundryVTT website.

manifest

The required string for the URL of your package manifest. Please Note: This is not the package manifest URL in your package manifest, which should be pointed to a latest branch. Instead, it should point to a specific release to allow users to download this specific version of your package.

Optional

dry-run

Do a dry-run. The API will validate and process your request, but not save any changes. Default "false".

id

The required ID of your package, as listed in your package manifest.

version

The required string representing the package version number. A semantic version number is preferred, such as 1.0.0.

notes

The optional string for the URL of your release notes for this version of your package. As with your manifest URL, we prefer this to be a discrete list of changes for this release for ease of accessing the most up-to-date, correct information.

compatibility-minimum

The required string for the Foundry version before which this module cannot function. This prevents installation for users on these incompatible versions.

compatibility-verified

The required string for the most recent Foundry version during which this module has been verified to work correctly. This is a suggestion to users to run either exactly or at most this version of Foundry when installing the module, but will not prevent installation.

compatibility-maximum

The optional string for the Foundry version which this module has been verified to no longer function. We recommend not setting this value unless you have tested or received reports about your module no longer working in a recent version of Foundry, as it will prevent installation for any user at or after that version. As with minimum, this prevents installation for users on these incompatible versions.

Example usage

Minimum example

Only passing the release token and the manifest URL. All others data are taken from the manifest.

uses: djlechuck/foundryvtt-publish-package-action@v1
with:
    token: ${{ secrets.FOUNDRYVTT_RELEASE_TOKEN }}
    manifest: 'https://github.com/example/example-module/issues/releases/download/release-1.0.0/system.json'

Complete example

Passing all the options. The manifest will not be read.

uses: djlechuck/foundryvtt-publish-package-action@v1
with:
    token: ${{ secrets.FOUNDRYVTT_RELEASE_TOKEN }}
    id: 'example-module'
    version: '1.0.0'
    manifest: 'https://github.com/example/example-module/issues/releases/download/release-1.0.0/system.json'
    notes: 'https://github.com/example/example-module/releases/tag/release-1.0.0'
    compatibility-minimum: '11'
    compatibility-verified: '11.315'

About

Use a GitHub action to publish your package on FoundryVTT.

Resources

License

Stars

Watchers

Forks

Packages

No packages published