Skip to content

jaywcjlove/github-action-upload-assets

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

Repository files navigation

Release Upload Assets

Buy me a coffee CI

Upload multiple assets to a release, or use GitHub Actions to upload assets to a specific release

Example Usage

- name: Release Upload Assets
  uses: jaywcjlove/github-action-upload-assets@main
  if: steps.create_tag.outputs.successful == 'true'
  with:
    asset-path: '["./target/release/sgo-*"]'

Upload a file to a specified tag

- name: Release Upload Assets
  uses: jaywcjlove/github-action-upload-assets@main
  if: steps.create_tag.outputs.successful == 'true'
  with:
    tag: v0.3.0
    asset-path: '["./target/release/sgo-*"]'

Continue on error

- name: Release Upload Assets
  uses: jaywcjlove/github-action-upload-assets@main
  continue-on-error: true
  with:
    tag: v0.3.0
    asset-path: '["./target/release/sgo-*"]'
- name: Create Tag
  id: create_tag
  uses: jaywcjlove/create-tag-action@main

- name: Release Upload Assets
  uses: jaywcjlove/github-action-upload-assets@main
  continue-on-error: true
  with:
    tag: ${{ steps.create_tag.outputs.version }}
    asset-path: '["./target/release/sgo-*"]'

Inputs

  • asset-path The paths to the assets you want to upload as a JSON array. You can use a glob pattern.
  • tag Specify the release tag name, for example: v1.23.12

Outputs

  • browser_download_urls The URL users can navigate to in order to download the uploaded asset

See Also

License

Licensed under the MIT License.

About

GitHub Action to upload multiple assets to a release

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy