You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Release file
v2.7
This action adds a file to a GitHub Release in the current repo.
Required A GitHub authentication token
The name to use if a new Release needs to be created (defaults to "Rolling build")
The name to use to tag the Release (defaults to "v0.0-rolling")
Required A descriptive name for the asset being added to the Release
Required The full path to the file to be added as an asset to the Release.
uses: djnicholson/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
asset-name: 'my-app.dmg'
file: 'out/dist/my-app.dmg'
uses: djnicholson/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
release-name: 'Latest rolling build'
tag-name: 'v1.3-alpha'
asset-name: 'my-app.dmg'
file: 'out/dist/my-app.dmg'