Skip to content

Commit a79e897

Browse files
committed
One more fix to generate netty-all
1 parent 6306d8e commit a79e897

1 file changed

Lines changed: 9 additions & 8 deletions

File tree

.github/workflows/build-and-publish.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -265,14 +265,11 @@ jobs:
265265
~/macos-x86_64-local-staging \
266266
~/macos-aarch64-local-staging
267267
268-
# Generate netty-all and deploy to local staging
269-
- name: Generate netty-all and deploy to local staging
268+
# Generate netty-all and install to local Maven repository
269+
- name: Generate netty-all
270270
run: |
271-
mkdir -p ~/all-local-staging
272271
./mvnw -B --file pom.xml -pl all \
273-
clean package org.sonatype.plugins:nexus-staging-maven-plugin:deploy \
274-
-DaltStagingDirectory=$HOME/all-local-staging \
275-
-DskipRemoteStaging=true \
272+
clean install \
276273
-DskipTests=true
277274
278275
# Merge all staging repositories
@@ -282,8 +279,12 @@ jobs:
282279
~/local-staging \
283280
~/linux-x86_64-local-staging \
284281
~/macos-x86_64-local-staging \
285-
~/macos-aarch64-local-staging \
286-
~/all-local-staging
282+
~/macos-aarch64-local-staging
283+
284+
# Copy netty-all from local Maven repository
285+
if [ -d "$HOME/.m2/repository/io/netty/netty-all" ]; then
286+
cp -r $HOME/.m2/repository/io/netty/netty-all $HOME/local-staging/io/netty/
287+
fi
287288
288289
# Deploy to GitHub Packages
289290
- name: Deploy to GitHub Packages

0 commit comments

Comments
 (0)