Skip to content

Commit 4d02a14

Browse files
authored
ci: fixing publish (#10)
Fixing more small issues.
1 parent 11e78a5 commit 4d02a14

File tree

4 files changed

+6
-11
lines changed

4 files changed

+6
-11
lines changed

.github/actions/full-release/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ runs:
4949
prerelease: ${{ inputs.prerelease }}
5050
signing_key_id: ${{ env.SIGNING_KEY_ID }}
5151
signing_key_passphrase: ${{ env.SIGNING_KEY_PASSPHRASE }}
52-
code_signing_keyring: 'code-signing-keyring.gpg'
52+
code_signing_keyring: ${{ inputs.code_signing_keyring }}
5353
sonatype_username: ${{ env.SONATYPE_USER_NAME }}
5454
sonatype_password: ${{ env.SONATYPE_PASSWORD }}
5555

.github/workflows/manual-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
prerelease: ${{ inputs.prerelease }}
4848
signing_key_id: ${{ env.SIGNING_KEY_ID }}
4949
signing_key_passphrase: ${{ env.SIGNING_KEY_PASSPHRASE }}
50-
code_signing_keyring: 'code-signing-keyring.gpg'
50+
code_signing_keyring: ${{ github.workspace }}/code-signing-keyring.gpg
5151
sonatype_username: ${{ env.SONATYPE_USER_NAME }}
5252
sonatype_password: ${{ env.SONATYPE_PASSWORD }}
5353
aws_role: ${{ vars.AWS_ROLE_ARN }}

lib/java-server-sdk-otel/build.gradle

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ plugins {
1717
repositories {
1818
// Use Maven Central for resolving dependencies.
1919
mavenCentral()
20-
maven {
21-
url 'https://oss.sonatype.org/content/repositories/snapshots/'
22-
}
20+
maven { url "https://oss.sonatype.org/content/groups/public/" }
2321
}
2422

2523
allprojects {
@@ -73,10 +71,7 @@ publishing {
7371
nexusPublishing {
7472
clientTimeout = java.time.Duration.ofMinutes(2) // we've seen extremely long delays in creating repositories
7573
repositories {
76-
sonatype {
77-
username = ossrhUsername
78-
password = ossrhPassword
79-
}
74+
sonatype ()
8075
}
8176
}
8277

lib/java-server-sdk-otel/gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ version=0.1.0
44

55
# The following empty ossrh properties are used by LaunchDarkly's internal integration testing framework
66
# and should not be needed for typical development purposes (including by third-party developers).
7-
ossrhUsername=
8-
ossrhPassword=
7+
sonatypeUsername=
8+
sonatypePassword=

0 commit comments

Comments
 (0)