From 0835da33bdf7240e4dba1bbc94a05ad3dee9e0f3 Mon Sep 17 00:00:00 2001 From: Stephan Date: Fri, 18 Mar 2022 15:53:27 +0100 Subject: [PATCH] exp --- .github/workflows/publish-release.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index b3799b1..1c58055 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -1,14 +1,24 @@ name: Publish Release -on: workflow_dispatch +on: + workflow_dispatch + inputs: + description: 'Version' + required: true + jobs: job: runs-on: ubuntu-latest - if: startsWith(github.ref, 'refs/heads/release/') # 19 leading chars steps: + - name: Checkout + uses: actions/checkout@v2 + with: + token: ${{ secrets.GITHUB_TOKEN }} + - name: Validate the release uses: actions/github-script@v5 with: script: | const script = require('./.github/workflows/publish-release.js') + console.log() console.log(script)