Skip to content

Commit 58ca86c

Browse files
SamyssmileSamuel Abramov
andauthored
publish (#186)
* migrating to new publish pipeline * migrating to new publish pipeline --------- Co-authored-by: Samuel Abramov <info@abramov-samuel.de>
1 parent 9deb20c commit 58ca86c

File tree

3 files changed

+17
-3
lines changed

3 files changed

+17
-3
lines changed

.github/workflows/gradle.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,6 @@ jobs:
4141
env:
4242
MAVEN_CENTRAL_USERNAME: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
4343
MAVEN_CENTRAL_PASSWORD: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
44-
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.SIGNING_KEY }}
45-
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.SIGNING_PASSWORD }}
44+
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
45+
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
4646
run: ./gradlew publishAllPublicationsToNmcpMavenJavaRepository

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,7 @@ gradle.properties
4848

4949
/benchmark-data/augmentation-benchmark-images/*
5050
*.png
51-
*.edux
51+
*.edux
52+
publish-ticket.md
53+
setup-publishing-env.sh
54+
CLAUDE.md

PUBLISHING.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,17 @@ source setup-publishing-env.sh
6969
- GitHub Action runs: `./gradlew publishAllPublicationsToNmcpMavenJavaRepository`
7070
- With `USER_MANAGED` setting, releases require manual approval on Central Portal
7171

72+
**Required GitHub Repository Secrets:**
73+
- `MAVEN_CENTRAL_USERNAME`: Username from Central Portal token
74+
- `MAVEN_CENTRAL_PASSWORD`: Password from Central Portal token
75+
- `GPG_PRIVATE_KEY`: Complete GPG private key block
76+
- `GPG_PASSPHRASE`: GPG key passphrase
77+
78+
To configure these secrets:
79+
1. Go to your GitHub repository → Settings → Secrets and variables → Actions
80+
2. Click "New repository secret" for each required secret
81+
3. Use the exact names listed above
82+
7283
#### Manual Publishing
7384
```bash
7485
# Publish to Central Portal

0 commit comments

Comments
 (0)