Skip to content

Commit

Permalink
Skip detekt on deploy step
Browse files Browse the repository at this point in the history
  • Loading branch information
Ozsie committed Aug 15, 2022
1 parent 9da3b88 commit f8bb976
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Set up JDK 16
- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 16
java-version: 17

- name: Build with Maven
run: mvn -B package --file pom.xml -Ddetekt.baseline=baseline.xml
Expand All @@ -32,7 +32,7 @@ jobs:
gpg-passphrase: MAVEN_GPG_PASSPHRASE

- name: Publish to Apache Maven Central
run: mvn deploy -DperformRelease=true
run: mvn deploy -DperformRelease=true -D"detekt.skip"
env:
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
Expand Down

0 comments on commit f8bb976

Please sign in to comment.