Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Find latest version for GitHub release assets #129

Merged
merged 6 commits into from
Dec 2, 2024
Merged

Find latest version for GitHub release assets #129

merged 6 commits into from
Dec 2, 2024

Conversation

pbrisbin
Copy link
Owner

@pbrisbin pbrisbin commented Dec 2, 2024

If url is a GitHub release asset, and version is omitted, we can
locate the latest release and use its tag_name.

To avoid rate-limits in the public case, we add another input that is
defaulted to github.token and used if inputs.github-token is not
set.

@pbrisbin pbrisbin changed the title pb/latest Find latest version for GitHub release assets Dec 2, 2024
If `url` is a GitHub release asset, and `version` is omitted, we can
locate the latest release and use its `tag_name`.

To avoid rate-limits in the public case, we add another input that is
defaulted to `github.token` and used if `inputs.github-token` is not
set.
@pbrisbin pbrisbin merged commit 12a55ca into main Dec 2, 2024
6 checks passed
@pbrisbin pbrisbin deleted the pb/latest branch December 2, 2024 18:23
@pbrisbin pbrisbin added the feature This PR adds a new feature label Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature This PR adds a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant