Skip to content

Commit a1af65d

Browse files
committed
Update workflow file
1 parent 0163447 commit a1af65d

File tree

2 files changed

+7
-11
lines changed

2 files changed

+7
-11
lines changed

.github/workflows/release-workflow.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ jobs:
103103
release_version=${{ github.event.inputs.release_version }}
104104
105105
# Actual build of core SDK
106-
mvn -B -pl '!org.eclipse.esmf:samm-cli' clean deploy -Pnative -Dmaven.wagon.httpconnectionManager.ttlSeconds=60 -DaltDeploymentRepository=local::default::file://nexus-staging -Psign
106+
mvn -B -pl '!org.eclipse.esmf:samm-cli' clean install -Pnative -Dmaven.wagon.httpconnectionManager.ttlSeconds=60
107107
# Build samm-cli executable jar and run integration tests
108108
unset JAVA_TOOL_OPTIONS
109109
mvn -B -pl tools/samm-cli clean verify -Dmaven.wagon.httpconnectionManager.ttlSeconds=60
@@ -137,7 +137,7 @@ jobs:
137137
with:
138138
name: linux-artifacts
139139
path: |
140-
nexus-staging/
140+
/
141141
samm-cli-${{ github.event.inputs.release_version }}-linux-x86_64.tar.gz
142142
samm-cli-${{ github.event.inputs.release_version }}.jar
143143
samm-cli-${{ github.event.inputs.release_version }}-javadoc.jar
@@ -303,6 +303,8 @@ jobs:
303303
server-id: ossrh
304304
server-username: CENTRAL_SONATYPE_TOKEN_USERNAME
305305
server-password: CENTRAL_SONATYPE_TOKEN_PASSWORD
306+
gpg-private-key: GPG_PRIVATE_KEY
307+
gpg-passphrase: GPG_PASSPHRASE
306308
overwrite-settings: false
307309

308310
# Required to run the mvn:versions, since enforcer plugin
@@ -316,15 +318,6 @@ jobs:
316318
github-token: ${{ secrets.GITHUB_TOKEN }}
317319
native-image-job-reports: 'false'
318320

319-
- name: Configure GPG
320-
uses: actions/setup-java@v4
321-
with:
322-
distribution: 'temurin'
323-
java-version: '21'
324-
gpg-private-key: GPG_PRIVATE_KEY
325-
gpg-passphrase: GPG_PASSPHRASE
326-
overwrite-settings: false
327-
328321
- name: Fetch Linux Artifacts
329322
uses: actions/download-artifact@v4
330323
with:

documentation/pom.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,9 @@
151151
<artifactId>central-publishing-maven-plugin</artifactId>
152152
<version>0.7.0</version>
153153
<extensions>true</extensions>
154+
<configuration>
155+
<skipPublishing>true</skipPublishing>
156+
</configuration>
154157
</plugin>
155158

156159
<plugin>

0 commit comments

Comments
 (0)