Skip to content

Commit

Permalink
adding inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
vakarisbk committed Nov 7, 2023
1 parent 3234c92 commit 006a3db
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion .github/workflows/publish-maven-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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

0 comments on commit 006a3db

Please sign in to comment.