Skip to content
GitHub Action to upload assets to a Release
JavaScript TypeScript
Use this GitHub Action with your project

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

View on Marketplace
Branch: master
Clone or download
AButler Merge pull request #4 from Andre601/patch-1
Fix wrong info displayed
Latest commit 2107b19 Jan 17, 2020
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/workflows
lib
src Switched to semi-colon separator Nov 11, 2019
.gitignore
LICENSE Initial commit Oct 16, 2019
README.md
action.yml Fixes and doc updates Oct 16, 2019
package-lock.json
package.json
tsconfig.json

README.md

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
You can’t perform that action at this time.