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

Download prereleases? #597

Closed
beeb opened this issue Feb 8, 2023 · 5 comments
Closed

Download prereleases? #597

beeb opened this issue Feb 8, 2023 · 5 comments
Labels
enhancement New feature or request

Comments

@beeb
Copy link

beeb commented Feb 8, 2023

Is your feature request related to a problem? Please describe.
I am not sure how to allow download of the latest prerelease.

Describe the solution you'd like
I would like a flag that allows me to include prereleases in the list of releases to pull from.

Describe alternatives you've considered
None

@PerryWerneck
Copy link

PerryWerneck commented Apr 11, 2023

An option to download from the latest draft or pre-release would be really usefull. Maybee the same engine of oprypin/find-latest-tag@v1

@robinraju
Copy link
Owner

Downloading pre-release/draft is not supported by this action at the moment. It's a nice to have feature. I need to find some time to implement it. Or a PR is always welcome.

@robinraju robinraju added the enhancement New feature or request label Apr 28, 2023
@robinraju
Copy link
Owner

Latest pre-release can be downloaded as follows

- uses: robinraju/[email protected]
  with:
    repository: "owner/repo"
    fileName: "foo.zip"
    latest: true
    preRelease: true

@beeb
Copy link
Author

beeb commented Jan 27, 2024

Awesome, thanks a bunch for the work!

@Madis0
Copy link

Madis0 commented Feb 18, 2024

Just to be clear, does the newly added option make it download only the latest pre-releases or any latest version, including pre-releases?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants