fix
This commit is contained in:
parent
bedc122eda
commit
890c988757
6
.github/workflows/publish-release.yml
vendored
6
.github/workflows/publish-release.yml
vendored
|
@ -2,9 +2,9 @@ name: Publish Release
|
|||
on: workflow_dispatch
|
||||
inputs:
|
||||
confirm:
|
||||
description: 'This is really going to release. Are you sure?'
|
||||
description: 'This is really going to release. Are you sure? Type \'yes\'.'
|
||||
required: true
|
||||
default: false
|
||||
default: ''
|
||||
jobs:
|
||||
job:
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -12,7 +12,7 @@ jobs:
|
|||
steps:
|
||||
|
||||
- name: Confirm
|
||||
if: ${{ github.event.inputs.confirm }} == false
|
||||
if: ${{ github.event.inputs.confirm }} != 'yes'
|
||||
uses: actions/github-script@v4
|
||||
with:
|
||||
script: |
|
||||
|
|
Loading…
Reference in New Issue
Block a user