Get the latest version from the tags in a GitHub repository.
| Input | Description | Required | Default |
|---|---|---|---|
| token | The token to authenticate to GitHub with. | Yes | |
| owner | The owner of the source repository. | yes | |
| repository | The name of the source repository. | Yes | |
| minimum_version | The minimum version number to accept, e.g. 2.0.0. | No | None |
| maximum_version | The maximum version number to accept, e.g. 2.99.99. | No | None |
| Output | Description | Example |
|---|---|---|
| tag | The tag for the latest version. | v2.5.3 |
| version | The latest version number. | 2.5.3 |
- name: Get Latest ComfyUI Version
id: version
uses: joepitt91/action-version-from-github-tag@v1
with:
token: ${{ secrets.PACKAGE_READER_PAT }}
owner: comfyanonymous
repository: ComfyUI