Skip to content
Use this GitHub Action with your project

Add this Action to an existing workflow or create a new one.

View on Marketplace
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.

Upload Release Assets - GitHub Action

GitHub Actions status

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.

Usage

jobs:
  build:
    # ...
    steps:
      - uses: AButler/upload-release-assets@v2.0
        with:
          files: 'artifacts/*;packages/*.nupkg'
          repo-token: ${{ secrets.GITHUB_TOKEN }}

Inputs

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