Skip to content

GitHub Action to upload assets to a Release

License

Notifications You must be signed in to change notification settings

gdamiaN538/upload-release-assets

 
 

Repository files navigation

Upload Release Assets - GitHub Action

GitHub Actions status

All Contributors

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@v3.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-id (Optional) Explicitly specify the release id 42
release-tag (Optional) Explicity specify the tag of the release v1.0.0

If release-id is specified, then the release with this ID will be used. If release-tag is specified, then the release with this tag will be used. If neither are specified, the release from the action is used.

Contributors

A big thanks to those who have contributed to this repo:

Andrew Butler
Andrew Butler

💻
dependabot[bot]
dependabot[bot]

💻
Andre_601
Andre_601

💻
Corey Butler
Corey Butler

💻
Jirka Borovec
Jirka Borovec

💻
Alexander Brandes
Alexander Brandes

💻

About

GitHub Action to upload assets to a Release

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 100.0%