This action downloads an asset from a Github release. Private repos are supported.
The org/repo
. Defaults to the current repo.
The release version to fetch from. Default "latest"
. If not "latest"
, this has to be in the form tags/<tag_name>
or <release_id>
.
Required The name of the file in the release.
Optional Personal Access Token to access repository. You need to either specify this or set the GITHUB_TOKEN environment variable yourself.
The version number of the release tag. Can be used to deploy for example to itch.io
uses: dsaltares/fetch-gh-release-asset@master
with:
repo: "dsaltares/godot-wild-jam-18"
version: "latest"
file: "plague-linux.zip"
token: ${{ secrets.YOUR_TOKEN }}