Skip to content

Commit 2affc98

Browse files
authored
Update release.yml
Build the Eclipse plugin separately
1 parent e35f4a9 commit 2affc98

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,16 @@ jobs:
4747
echo "TARGET_COMMITISH=$(git rev-parse HEAD)" >> $GITHUB_ENV
4848
git remote set-url origin https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/google/google-java-format.git
4949
50-
- name: Build Jars
50+
- name: Deploy to Sonatype staging
5151
env:
5252
CI_DEPLOY_USERNAME: ${{ secrets.CI_DEPLOY_USERNAME }}
5353
CI_DEPLOY_PASSWORD: ${{ secrets.CI_DEPLOY_PASSWORD }}
54-
run: mvn --no-transfer-progress -P sonatype-oss-release clean deploy -Dgpg.passphrase="${{ secrets.GPG_PASSPHRASE }}"
54+
run:
55+
mvn --no-transfer-progress -pl '!eclipse_plugin' -P sonatype-oss-release clean deploy -Dgpg.passphrase="${{ secrets.GPG_PASSPHRASE }}"
56+
57+
- name: Build Eclipse plugin
58+
run:
59+
mvn --no-transfer-progress -pl 'eclipse_plugin' verify gpg:sign -DskipTests=true -Dgpg.passphrase="${{ secrets.GPG_PASSPHRASE }}"
5560

5661
- name: Push tag
5762
run: |

0 commit comments

Comments
 (0)