The Upload Release Assets GitHub Action uploads files (base on a glob) to a GitHub release. This is a cross-platform action that runs on any environment.
jobs:
build:
# ...
steps:
- uses: AButler/upload-release-assets@v2.0
with:
files: 'artifacts/*;packages/*.nupkg'
repo-token: ${{ secrets.GITHUB_TOKEN }}
Name | Description | Examples |
---|---|---|
files |
The glob of files to upload (semicolon separate multiple globs) | file.txt file*.txt file_{a,b}.txt;*.json |
repo-token |
The GitHub token to use to amend the release (recommended to use ${{ secrets.GITHUB_TOKEN }} ) |
${{ secrets.GITHUB_TOKEN }} |
release-tag |
(Optional) Specify the tag of the release to upload to | v1.0.0 |