version-up-action/action.yaml
Philipp Horstenkamp c79ac64729
All checks were successful
Try out action / Try action (push) Successful in 16s
Try out action / test-job (push) Successful in 0s
Lint / pre-commit Autoupdate (push) Successful in 52s
Another experiment.
2024-05-28 23:12:44 +02:00

21 lines
719 B
YAML

name: Increment version number to max.
author: Philipp Horstenkamp
description: Increases a version number until the the version number is invalid. Onyl updates minor and below. No support for previews. Only Semantic numbers are supported.
inputs:
url-pattern:
description: The url from which to download. Needs to contain at least one {{VERSION}} marker to be replaced.
required: true
start-version:
description: The version number with wich to start.
required: true
export-to:
description: To what env var to export the version number.
required: false
outputs:
current_version:
description: The maximum currently downloadable version found.
runs:
using: node20
main: index.js