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