Skip to content

Remove single quotes #12

Remove single quotes

Remove single quotes #12

name: Build and Publish JAR Packages
run-name: ${{ inputs.release_type == 'Snapshot' && 'Publish pre-release' || format('Release {0}', inputs.release_type)}} Package by @${{ github.actor }}
on:
workflow_dispatch:
inputs:
release_type:
type: choice
description: The type of release
options:
- Major
- Minor
- Patch
- Snapshot
publish_to_maven:
description: True to publish the artifacts to Maven repository, false to skip the step
default: false
required: false
type: boolean
java_version:
type: string
default: 11
publish_vulnerabilities:
type: string
default: true
jobs:
build-and-pubish:
name: Build and publish JAR packages to Maven repository
uses: IABTechLab/uid2-shared-actions/.github/workflows/ shared-publish-to-maven-versioned@v2

Check failure on line 29 in .github/workflows/build-and-publish.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/build-and-publish.yaml

Invalid workflow file

invalid value workflow reference: workflow file should have either a '.yml' or '.yaml' file extension
with:
release_type: ${{ inputs.release_type }}
publish_to_maven: ${{ inputs.publish_to_maven }}
java_version: ${{ inputs.java_version }}
publish_vulnerabilities: ${{ inputs.publish_vulnerabilities }}
secrets: inherit