Skip to content

Calmantras/Action_UploadAssetByTag

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Upload Release Asset By Tag

GitHub Action to upload assets to a release identified by its tag name.

Development

# Install dependencies
npm install

# Bundle for production (creates dist/index.js)
npm run bundle

Inputs

  • asset_tag: Tag name of the target release (optional)
  • asset_path: Path to the file to upload (required)
  • asset_name: Name for the uploaded asset (required)
  • asset_content_type: MIME type of the asset (required)

Output

  • browser_download_url: URL for downloading the uploaded asset

Usage

steps:
  - uses: Calmantras/Action_UploadByTag@v1
    with:
      asset_tag: v1.0
      asset_path: ./build/app.zip
      asset_name: app.zip
      asset_content_type: application/zip

About

Action to automatically upload assets to a release specified by tag.

Resources

Stars

Watchers

Forks

Packages

No packages published