Skip to content

Commit

Permalink
Merge pull request #55 from dionomusuko/fix-readme
Browse files Browse the repository at this point in the history
fix: readme
  • Loading branch information
dionomusuko authored Apr 10, 2022
2 parents 947618a + 6093d7f commit 9d204a1
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

gh-release-with-wf-dispatch crates github tag with gh-release

Using this function with workflow dispatch, the RELEASE file can be rewritten.


## Usage
1. Setting workflow dispatch
e.g.
Expand All @@ -14,12 +17,12 @@ on:
required: 'true'
default: 'RELEASE'
type: choice
options:
options: # Set RELEASE file path
- RELEASE
- testdata/RELEASE
newTag:
description: 'new tag'
required: 'false'
required: 'false' # If you want to do PATCH version release, no input is required
baseBranch:
description: 'base branch e.g. master'
require: 'true'
Expand All @@ -31,7 +34,7 @@ on:
- name: release
uses: dionomusko/gh-release-with-wf-dispatch@master
with:
"github_token": ${{ secrets.GITHUB_TOKEN }}
"github_token": ${{ secrets.GITHUB_TOKEN }} # Set your GitHub personal access token (see: https://docs.github.com/ja/enterprise-cloud@latest/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)
"owner": ${{ github.event.repository.owner.login }}
"repo": ${{ github.event.repository.name }}
"releae_file_path": ${{ github.event.inputs.releaeFilePath }}
Expand Down

0 comments on commit 9d204a1

Please sign in to comment.