Skip to content
play

GitHub Action

Upload to Release Action

v2.0.0 Latest version

Upload to Release Action

play

Upload to Release Action

A GitHub Action that uploads a file to a new release

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Upload to Release Action

uses: Shopify/upload-to-release@v2.0.0

Learn more about this action in Shopify/upload-to-release

Choose a version

Upload to Release GitHub Action

A GitHub Action that uploads a file to a new release.

Getting Started

jobs:
  build:
    # ...
    steps:
      - uses: Shopify/upload-to-release@v1
        with:
          name: my-artifact
          path: build/a.out
          repo-token: ${{ secrets.GITHUB_TOKEN }}
          content-type: text/plain # Optional

Shoulders

This was inspired by: