File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments