Add workflow to release from GitHub Actions
Co-Authored-By: Moritz Halbritter <moritz.halbritter@broadcom.com> Closes gh-40407
This commit is contained in:
9
.github/actions/build/action.yml
vendored
9
.github/actions/build/action.yml
vendored
@@ -1,36 +1,33 @@
|
||||
name: 'Build'
|
||||
description: 'Builds the project, optionally publishing it to a local deployment repository'
|
||||
inputs:
|
||||
java-version:
|
||||
required: false
|
||||
type: string
|
||||
default: '17'
|
||||
description: 'The Java version to compile and test with'
|
||||
java-toolchain:
|
||||
required: false
|
||||
type: boolean
|
||||
default: false
|
||||
description: 'Whether a Java toolchain should be used'
|
||||
publish:
|
||||
required: false
|
||||
type: boolean
|
||||
default: false
|
||||
description: 'Whether to publish artifacts ready for deployment to Artifactory'
|
||||
gradle-enterprise-secret-access-key:
|
||||
required: false
|
||||
type: string
|
||||
description: 'The secret access key for authentication with ge.spring.io'
|
||||
gradle-enterprise-cache-user:
|
||||
required: false
|
||||
type: string
|
||||
description: 'The username for authentication with the remote build cache'
|
||||
gradle-enterprise-cache-password:
|
||||
required: false
|
||||
type: string
|
||||
description: 'The password for authentication with the remote build cache'
|
||||
outputs:
|
||||
build-scan-url:
|
||||
description: 'The URL, if any, of the build scan produced by the build'
|
||||
value: ${{ (inputs.publish && steps.build-and-publish.outputs.build-scan-url) || steps.build.outputs.build-scan-url }}
|
||||
version:
|
||||
description: 'The version that was built'
|
||||
value: ${{ steps.read-version.outputs.version }}
|
||||
runs:
|
||||
using: composite
|
||||
|
||||
Reference in New Issue
Block a user