Skip to content

Commit 48b5ed3

Browse files
authored
Skip deploying build-tools (#273)
Motivation: Unnecessary build-tools artifact was deployed along with r2dbc-mysql Modification: Skip deploying build-tools Result: Clean up
1 parent bb14058 commit 48b5ed3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/cd-release.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -123,12 +123,16 @@ jobs:
123123
124124
- name: Create Local Deploy Directory
125125
run: mkdir -p ~/local-staging
126+
127+
- name: Prepare Internal Dependencies
128+
working-directory: ./prepare-workspace/
129+
run: ./mvnw -B -ntp -pl build-tools clean install -DskipTests -Dcheckstyle.skip
126130

127131
- name: Import GPG & Deploy Local Staging
128132
working-directory: ./prepare-workspace/
129133
run: |
130134
cat <(echo -e "${{ secrets.GPG_PRIVATE_KEY }}") | gpg --batch --import
131-
./mvnw -B -ntp -am -pl r2dbc-mysql clean javadoc:jar package gpg:sign org.sonatype.plugins:nexus-staging-maven-plugin:deploy -DnexusUrl=https://s01.oss.sonatype.org -DserverId=ossrh-staging -DaltStagingDirectory=/home/runner/local-staging -DskipRemoteStaging=true -DskipTests=true -Dcheckstyle.skip -Dgpg.passphrase="${{ secrets.GPG_PASSPHRASE }}" -Dgpg.keyname="${{ secrets.GPG_KEY_NAME }}"
135+
./mvnw -B -ntp -pl r2dbc-mysql clean javadoc:jar package gpg:sign org.sonatype.plugins:nexus-staging-maven-plugin:deploy -DnexusUrl=https://s01.oss.sonatype.org -DserverId=ossrh-staging -DaltStagingDirectory=/home/runner/local-staging -DskipRemoteStaging=true -DskipTests=true -Dcheckstyle.skip -Dgpg.passphrase="${{ secrets.GPG_PASSPHRASE }}" -Dgpg.keyname="${{ secrets.GPG_KEY_NAME }}"
132136
133137
- name: Deploy Local Staged Artifacts
134138
working-directory: ./prepare-workspace/

0 commit comments

Comments
 (0)