Skip to content

Release

Release #6

Workflow file for this run

name: Release
on:
workflow_dispatch:
inputs:
branch:
type: string
description: Branch name to release
required: true
default: main
section:
type: choice
description: Version section to increment
options:
- patch
- minor
- major
required: true
default: patch
version:
type: string
description: ...or manually define version like 1.2.3, 1.2.3-suffix
required: false
snapshot:
type: boolean
description: Snapshot version
required: true
default: false
# Called from release-auto
workflow_call:
inputs:
branch:
type: string
required: false
default: main
section:
type: string
required: false
default: patch
version:
type: string
required: false
snapshot:
type: boolean
required: false
default: false
jobs:
release:
uses: coditory/workflows/.github/workflows/release.yml@v1

Check failure on line 50 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / Release

Invalid workflow file

The workflow is not valid. In .github/workflows/release.yml (Line: 50, Col: 11): Error from called workflow coditory/workflows/.github/workflows/release.yml@v1 (Line: 83, Col: 14): Unrecognized named-value: 'girhub'. Located at position 1 within expression: girhub.repository
secrets: inherit
with:
branch: ${{ inputs.branch }}
section: ${{ inputs.section }}
version: ${{ inputs.version }}
snapshot: ${{ inputs.snapshot }}
java-version: 21
release-command: ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository -Pversion=$NEXT_VERSION
snapshot-command: ./gradlew publishToSonatype -Pversion=$NEXT_VERSION