Skip to content

Commit c5f407e

Browse files
committed
Replace publishing script
1 parent 3fa1d57 commit c5f407e

File tree

2 files changed

+33
-110
lines changed

2 files changed

+33
-110
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: utils-java-formatting
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 & 110 deletions
This file was deleted.

0 commit comments

Comments
 (0)