Skip to content

Commit

Permalink
No issue: Prevent deployment for PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
reckart committed Dec 20, 2024
1 parent cf0eeb2 commit 3e0a9b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
run: mvn --show-version --batch-mode --no-transfer-progress clean verify

- name: Upload to Nexus
if: matrix.os == 'ubuntu-latest'
if: matrix.os == 'ubuntu-latest' && github.event_name != 'pull_request'
env:
# `NEXUS_USERNAME` and `NEXUS_PASSWORD` are used in `~/.m2/settings.xml` created by `setup-java` action
NEXUS_USERNAME: ${{ secrets.NEXUS_USER }}
Expand Down

0 comments on commit 3e0a9b8

Please sign in to comment.