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
|
on: workflow_dispatch
|
||||||
inputs:
|
inputs:
|
||||||
confirm:
|
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
|
required: true
|
||||||
default: false
|
default: ''
|
||||||
jobs:
|
jobs:
|
||||||
job:
|
job:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -12,7 +12,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Confirm
|
- name: Confirm
|
||||||
if: ${{ github.event.inputs.confirm }} == false
|
if: ${{ github.event.inputs.confirm }} != 'yes'
|
||||||
uses: actions/github-script@v4
|
uses: actions/github-script@v4
|
||||||
with:
|
with:
|
||||||
script: |
|
script: |
|
||||||
|
|
Loading…
Reference in New Issue
Block a user