Skip to content

Commit

Permalink
Skip deploying build-tools (#273)
Browse files Browse the repository at this point in the history
Motivation:
Unnecessary build-tools artifact was deployed along with r2dbc-mysql

Modification:
Skip deploying build-tools

Result:
Clean up
  • Loading branch information
jchrys authored Apr 6, 2024
1 parent bb14058 commit 48b5ed3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/cd-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,12 +123,16 @@ jobs:
- name: Create Local Deploy Directory
run: mkdir -p ~/local-staging

- name: Prepare Internal Dependencies
working-directory: ./prepare-workspace/
run: ./mvnw -B -ntp -pl build-tools clean install -DskipTests -Dcheckstyle.skip

- name: Import GPG & Deploy Local Staging
working-directory: ./prepare-workspace/
run: |
cat <(echo -e "${{ secrets.GPG_PRIVATE_KEY }}") | gpg --batch --import
./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 }}"
./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 }}"
- name: Deploy Local Staged Artifacts
working-directory: ./prepare-workspace/
Expand Down

0 comments on commit 48b5ed3

Please sign in to comment.