Comments (7)
Hey @LongLiveCHIEF, that sounds like a super useful idea!
If I understand correctly though, it would mean that get-latest-release
would no longer only be returning the one and only latest release. If we go ahead with this idea I would like to propose that we fork this action and create another sibling action which would get "releases".
I'll then port the semver functionality to this action so that this action gets the latest single release that matches the semver and point people in the README to the sibling action for getting a list of releases if that's their use case.
Does that sound like a good idea?
from github-action-get-latest-release.
from github-action-get-latest-release.
I'm willing to help by contributing this feature if you like the idea. I was actually going to create this "get release" action, and figured I'd search the marketplace first. Ironically, @foosel is a contributor to this action, and she's the maintainer of the product I'm supporting docker images for!
I also recently released the HackerHappyHour/tagging-strategy
action, which would pair with this nicely using the output. It's possible we could even create a compound action to get matching releases and create a matrix of tags.
from github-action-get-latest-release.
Here's what I'm thinking this could look like: (see example of creating a matrix in one job and passing it to another from github actions docs
jobs:
releases:
outputs:
matrix: ${{ steps.releases.outputs.matrix }}
steps:
# produces a matrix with a key of `matrix`
- name: Get Releases
id: releases
uses: pozetroninc/github-action-get-latest-release
with:
repository: some/repository
semver: '^1.0.0'
build:
needs: releases
strategy:
matrix: ${{ needs.releases.outputs.matrix }}
from github-action-get-latest-release.
related #5
from github-action-get-latest-release.
I had the same thought, just didn't want to preempt you.
from github-action-get-latest-release.
Did the fork happen, or did everyone fall down a well? :)
from github-action-get-latest-release.
Related Issues (19)
- Why `owner`+`repo`, not `repository`? HOT 4
- Release description HOT 1
- Error when latest release goes to second page HOT 4
- Default to current repo HOT 2
- Don't return draft release. Is it normal? HOT 3
- feature request (or bug) - Private Repo Support HOT 1
- Unable to use output in other action
- Inputs missing HOT 1
- error: Not found HOT 3
- Node.js 12 actions are deprecated
- How to pass GitHub API token
- Use of deprecated `set-output` command in `@actions/core`
- Latest release not on marketplace HOT 2
- Allow to limit to prereleases HOT 2
- draft not excluding HOT 1
- update node version HOT 2
- Get latest stable HOT 4
- Draft release doesn't shown HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from github-action-get-latest-release.