update publish artifact

This commit is contained in:
2025-07-29 23:29:23 +02:00
parent beffff0e4a
commit 7e8afde50e
3 changed files with 15 additions and 50 deletions

View File

@@ -23,7 +23,7 @@ on:
type: string
TYPE:
default: ''
description: Type of release (service, artifact, or catalog)
description: Type of release (service, artifact, or plugin)
required: false
type: string
@@ -151,17 +151,19 @@ jobs:
secrets:
CI_BOT_PAT: ${{ secrets.CI_BOT_PAT }}
with:
GRADLE_TASK: publish
JAVA_VERSION: ${{ inputs.JAVA_VERSION }}
PROJECT_NAME: ${{ needs.release.outputs.project-name }}
PROJECT_VERSION: ${{ needs.release.outputs.release-version }}
finalise-publish-catalog:
finalise-publish-plugin:
needs: release
if: needs.release.outputs.has-changes == 'true' && inputs.TYPE == 'catalog'
uses: ./.github/workflows/publish-catalog.yml
if: needs.release.outputs.has-changes == 'true' && inputs.TYPE == 'plugin'
uses: ./.github/workflows/publish-artifact.yml
secrets:
CI_BOT_PAT: ${{ secrets.CI_BOT_PAT }}
with:
GRADLE_TASK: publishAllPublicationsToGitHubPackagesRepository
JAVA_VERSION: ${{ inputs.JAVA_VERSION }}
PROJECT_NAME: ${{ needs.release.outputs.project-name }}
PROJECT_VERSION: ${{ needs.release.outputs.release-version }}