From 006a3dba5929bc6269bb9f94bc43c8751ef56e23 Mon Sep 17 00:00:00 2001 From: vakarisbk Date: Wed, 8 Nov 2023 00:32:32 +0200 Subject: [PATCH] adding inputs --- .github/workflows/publish-maven-package.yml | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-maven-package.yml b/.github/workflows/publish-maven-package.yml index 81333be45..42534d22c 100644 --- a/.github/workflows/publish-maven-package.yml +++ b/.github/workflows/publish-maven-package.yml @@ -2,6 +2,25 @@ name: Publish Maven Package on: workflow_dispatch: + inputs: + version: + description: 'Release version' + required: true + type: string + release_name: + description: 'Release name' + required: true + type: string + is_draft: + description: 'Create a draft release' + required: false + default: 'false' + type: boolean + is_prerelease: + description: 'Create a pre-release' + required: false + default: 'false' + type: boolean jobs: build-and-publish: @@ -38,5 +57,5 @@ jobs: with: upload_url: ${{ steps.create_release.outputs.upload_url }} asset_path: ./assembly/target/*.zip - asset_name: livy-0.9-snapshot.zip + asset_name: livy-0.9-snapshot.zip asset_content_type: application/zip \ No newline at end of file