FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
java-sdk/.github/workflows/maven-central-release.yml at main · codezjx/java-sdk · GitHub
codezjx
java-sdk
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
java-sdk
/
.github
/
workflows
/
maven-central-release.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
41 lines (35 loc) · 1.03 KB
Breadcrumbs
java-sdk
/
.github
/
workflows
/
maven-central-release.yml
Copy path
File metadata and controls
41 lines (35 loc) · 1.03 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name
:
Release to Maven Central
on
:
workflow_dispatch
:
jobs
:
publish
:
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v4
-
name
:
Set up Java
uses
:
actions/setup-java@v4
with
:
java-version
:
'
17
'
distribution
:
'
temurin
'
cache
:
'
maven
'
server-id
:
central
server-username
:
MAVEN_USERNAME
server-password
:
MAVEN_PASSWORD
gpg-private-key
:
${{ secrets.GPG_SECRET_KEY }}
gpg-passphrase
:
MAVEN_GPG_PASSPHRASE
-
name
:
Setup Node.js
uses
:
actions/setup-node@v4
with
:
node-version
:
'
20
'
-
name
:
Build and Test
run
:
mvn clean verify
-
name
:
Publish to Maven Central
run
:
|
mvn --batch-mode \
-Prelease \
-Pjavadoc \
deploy
env
:
MAVEN_USERNAME
:
${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD
:
${{ secrets.OSSRH_TOKEN }}
MAVEN_GPG_PASSPHRASE
:
${{ secrets.SIGNING_PASSPHRASE }}
Back
|
FazBrowse Home
|
New Git URL