Skip to content

Commit f9cfd35

Browse files
committed
Don’t enable release profile when doing the verification compile phase.
Signed-off-by: Hiram Chirino <hiram@hiramchirino.com>
1 parent 460adfb commit f9cfd35

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
gpg --list-secret-keys --keyid-format LONG
4242
4343
- name: Compile
44-
run: mvn --no-transfer-progress --batch-mode clean install -Prelease
44+
run: mvn --no-transfer-progress --batch-mode clean install
4545

4646
- name: Setup Git
4747
run: |
@@ -60,7 +60,7 @@ jobs:
6060

6161
- name: Release to Maven Central
6262
run: |
63-
mvn --no-transfer-progress --batch-mode deploy -Prelease -DskipTests=true
63+
mvn --no-transfer-progress --batch-mode clean deploy -Prelease -DskipTests=true
6464
env:
6565
MAVEN_USERNAME: ${{ secrets.central_username }}
6666
MAVEN_CENTRAL_TOKEN: ${{ secrets.central_password }}

0 commit comments

Comments
 (0)