Skip to content

rvvh472/release-tag-to-upload-url-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Release tag to upload url - DEPRECATED

latest-test latest-release

A js action that converts a release tag to the corresponding asset upload url

Btw. this repo has become useless because:

  1. There is a native way to do it (see The repo where this action would have been used)
  2. I found a repo with exactly the same action as the one I coded in this repo (although I heavily researched to find a way to do this before I created this action; also the other repo is way older than mine, but I forgot the name and url)

Inputs

tag

Required The tag of the release you want to get the upload url from

token

Required The github api auth token to extended the maximum api request count

Outputs

uploadUrl

The upload url for the release

Example usage

In response to a release triggered event

uses: rvvh472/[email protected]
with:
  tag: ${{ github.ref }}
  token: ${{ github.token }}

Generally

uses: rvvh472/[email protected]
with:
  tag: v1.0
  token: ${{ github.token }}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published