Skip to content
This repository has been archived by the owner on Nov 20, 2021. It is now read-only.

Latest commit

 

History

History
32 lines (20 loc) · 1.12 KB

README.md

File metadata and controls

32 lines (20 loc) · 1.12 KB

Due to changes in the priorities, this project is currently not being supported. The project is archived as of 11/17/21 and will be available in a read-only state. Please note, since archival, the project is not maintained or reviewed.

Upsert release assets javascript action

This action creates or updates a release, and uploads a directory of assets. The release assets will overwrite any pre-existing assets of the same name.

Inputs

release_name

Required The name of the release. For example, Release v1.0.1

assets_directory

Required The directory containing release assets. Default: dist

owner

The name of the owner of the repo. Used to identify the owner of the repository. Used when cutting releases for external repositories. Default: Current owner

repo

The name of the repository. Used to identify the repository on which to release. Used when cutting releases for external repositories. Default: Current repository

Example usage

uses: criticalstack/upsert-release-assets@v1
env:
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
  release_name: ${{ github.ref }}