Skip to content

Commit 459e5b5

Browse files
committed
Replace promote.yml with reusable maven-publish workflow.
Use artifact 'agent-java-junit5' and remove legacy workflow.
1 parent ab5262c commit 459e5b5

File tree

3 files changed

+34
-113
lines changed

3 files changed

+34
-113
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Copyright 2025 EPAM Systems
2+
# Licensed under the Apache License, Version 2.0 (the "License");
3+
# you may not use this file except in compliance with the License.
4+
# You may obtain a copy of the License at
5+
#
6+
# http://www.apache.org/licenses/LICENSE-2.0
7+
#
8+
# Unless required by applicable law or agreed to in writing, software
9+
# distributed under the License is distributed on an "AS IS" BASIS,
10+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
# See the License for the specific language governing permissions and
12+
# limitations under the License.
13+
14+
name: Publish to Maven Central
15+
16+
on:
17+
workflow_dispatch:
18+
inputs:
19+
version:
20+
description: 'Release version (e.g., 5.3.14)'
21+
required: true
22+
type: string
23+
24+
jobs:
25+
publish:
26+
uses: reportportal/.github/.github/workflows/maven-publish.yml@main
27+
with:
28+
version: ${{ github.event.inputs.version }}
29+
artifact: agent-java-junit5
30+
package_suffixes: '-javadoc.jar,-javadoc.jar.asc,-javadoc.jar.md5,-javadoc.jar.sha1,-javadoc.jar.sha256,-javadoc.jar.sha512,-sources.jar,-sources.jar.asc,-sources.jar.md5,-sources.jar.sha1,-sources.jar.sha256,-sources.jar.sha512,.jar,.jar.asc,.jar.md5,.jar.sha1,.jar.sha256,.jar.sha512,.pom,.pom.asc,.pom.md5,.pom.sha1,.pom.sha256,.pom.sha512,.module,.module.asc,.module.md5,.module.sha1,.module.sha256,.module.sha512'
31+
secrets:
32+
SONATYPE_USER: ${{ secrets.SONATYPE_USER }}
33+
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}

.github/workflows/promote.yml

Lines changed: 0 additions & 111 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
# Changelog
22

33
## [Unreleased]
4-
54
### Changed
6-
- Client version updated on [5.3.16](https://github.com/reportportal/client-java/releases/tag/5.3.16)
5+
- Client version updated on [5.3.16](https://github.com/reportportal/client-java/releases/tag/5.3.16), by @HardNorth
76

87
## [5.4.0]
98
### Changed

0 commit comments

Comments
 (0)