You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
gh-release-with-wf-dispatch
v0.0.3
Pre-release
gh-release-with-wf-dispatch crates github tag with gh-release
- Setting workflow dispatch e.g.
on:
workflow_dispatch:
inputs:
releaseFilePath:
description: 'Define the path of RELEASE file'
required: 'true'
default: 'RELEASE'
type: choice
options:
- RELEASE
- testdata/RELEASE
newTag:
description: 'new tag'
required: 'false'
baseBranch:
description: 'base branch e.g. master'
require: 'true'
default: 'master'
- Write your workflow file
- name: release
uses: dionomusko/gh-release-with-wf-dispatch@master
with:
"github_token": ${{ secrets.GITHUB_TOKEN }}
"owner": ${{ github.event.repository.owner.login }}
"repo": ${{ github.event.repository.name }}
"releae_file_path": ${{ github.event.inputs.releaeFilePath }}
"base_branch": ${{ github.event.inputs.baseBranch }}
"new_tag": ${{ github.event.inputs.newTag }}