mirror of
https://github.com/valitydev/java-workflow.git
synced 2024-11-06 01:25:18 +00:00
fix empty input params
This commit is contained in:
parent
e645608831
commit
e5d8d2a86d
11
.github/workflows/maven-library-deploy.yml
vendored
11
.github/workflows/maven-library-deploy.yml
vendored
@ -2,6 +2,17 @@ name: Maven Deploy Package
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
inputs:
|
||||
java-version:
|
||||
description: 'Java version'
|
||||
required: false
|
||||
default: "15"
|
||||
type: string
|
||||
java-distribution:
|
||||
description: 'Java distribution'
|
||||
required: false
|
||||
default: "adopt"
|
||||
type: string
|
||||
secrets:
|
||||
server-username:
|
||||
required: true
|
||||
|
15
.github/workflows/maven-thrift-build.yml
vendored
15
.github/workflows/maven-thrift-build.yml
vendored
@ -2,6 +2,17 @@ name: Maven Build Artifact
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
inputs:
|
||||
java-version:
|
||||
description: 'Java version'
|
||||
required: false
|
||||
default: "15"
|
||||
type: string
|
||||
java-distribution:
|
||||
description: 'Java distribution'
|
||||
required: false
|
||||
default: "adopt"
|
||||
type: string
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@ -16,8 +27,8 @@ jobs:
|
||||
- name: Set up Maven
|
||||
uses: actions/setup-java@v2
|
||||
with:
|
||||
java-version: '15'
|
||||
distribution: 'adopt'
|
||||
java-version: ${{ inputs.java-version }}
|
||||
distribution: ${{ inputs.java-distribution }}
|
||||
cache: 'maven'
|
||||
- name: Retrieve commit info
|
||||
run: |
|
||||
|
Loading…
Reference in New Issue
Block a user