GitHub Action
easyware.io/get-release
Gets the release data from GitHub for a specific release based on the release tag.
- name: Get release
uses: easyware-io/get-release@v1
with:
release_name: v1.0.0
token: ${{ secrets.GITHUB_TOKEN }}
GitHub token
Release name of the release. Takes preference over tag_name
Tag name of the release. Is ignored if release_name
is informed
Optional. Owner of the repository. Defaults to current owner.
Optional. Name of the repository. Defaults to current repo.
Optional. Action fails if release is still a draft. Defaults to false.
Optional. Action fails if release is not a draft. Defaults to false.
Optional. Action fails if release is a prerelease. Defaults to false.
Optional. Action fails if release is not a prerelease. Defaults to false.
Optional. Action fails if release is not found. Defaults to false.
ID of the release
Name of the release
Tag name of the release
Body of the release
Whether the release is a draft
Whether the release is a prerelease
Creation date of the release
Publication date of the release
URL of the release
HTML URL of the release
URL of the release assets
URL for uploading assets to the release
URL of the release tarball
URL of the release zipball
Node ID of the release
Login of the release author
ID of the release author
Node ID of the release author
Avatar URL of the release author
HTML URL of the release author
URL of the followers of the release author
URL of the users followed by the release author
URL of the gists created by the release author
URL of the repositories starred by the release author
URL of the subscriptions of the release author
URL of the organizations the release author belongs to
URL of the repositories owned by the release author
URL of the events performed by the release author
URL of the events received by the release author
Type of the release author
Whether the release author is a site admin