1
0
This commit is contained in:
Stephan 2021-12-12 19:48:34 +01:00
parent 8f36bf3ee6
commit d44e0c8512

View File

@ -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: |