release #26
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: release | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
module: | ||
description: 'Module to release' | ||
type: choice | ||
required: true | ||
options: | ||
- refarch-gateway | ||
- refarch-integrations | ||
snapshot-release: | ||
description: 'Snapshot release?' | ||
type: boolean | ||
default: false | ||
release-version: | ||
description: 'Release version' | ||
type: string | ||
required: true | ||
default: "X.Y.Z" | ||
next-version: | ||
description: "Next version to use after release." | ||
type: string | ||
required: true | ||
default: "X.Y.Z-SNAPSHOT" | ||
jobs: | ||
build: | ||
uses: ./.github/workflows/maven.yaml | ||
Check failure on line 30 in .github/workflows/release.yaml GitHub Actions / releaseInvalid workflow file
|
||
with: | ||
module: ${{ inputs.module }} | ||
snapshot-release: ${{ inputs.snapshot-release != false }} | ||
build-images: true | ||
release-version: ${{ inputs.release-version }} | ||
secrets: inherit | ||
create-github-release: | ||
if: ${{ inputs.snapshot-release == false }} | ||
needs: build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Create GitHub Release | ||
id: create_release | ||
uses: softprops/action-gh-release@c062e08bd532815e2082a85e87e3ef29c3e6d191 # v2.0.8 | ||
with: | ||
tag_name: "${{ inputs.module }}_${{ github.event.inputs.release-version }}" | ||
draft: false | ||
prerelease: false | ||
generate_release_notes: true |