Skip to content

release

release #26

Workflow file for this run

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

View workflow run for this annotation

GitHub Actions / release

Invalid workflow file

The workflow is not valid. In .github/workflows/release.yaml (Line: 30, Col: 11): Error from called workflow it-at-m/refarch/.github/workflows/maven.yaml@2d898a56b35391a5a0130a232baf2e81bec51375 (Line: 100, Col: 9): Unrecognized named-value: 'matrix'. Located at position 49 within expression: inputs.build-images == true && inputs.module == matrix.module
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