This GitHub Action outputs the latest GitHub release for a repository.
See the action.yml for more information.
The following gets the latest release of Helm and echoes it:
helm_latest:
runs-on: ubuntu-latest
steps:
- name: Get latest release for helm/helm
id: helm
uses: azimuth-cloud/github-actions/github-latest-release@master
with:
repository: helm/helm
- name: Echo version
run: echo ${{ steps.helm.outputs.version }}