Skip to content

Commit

Permalink
Actions: cache the local maven repo and don't run tests during the de…
Browse files Browse the repository at this point in the history
…pendency check
  • Loading branch information
flange-ipb committed Jan 23, 2022
1 parent d4685ee commit 036fd6d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/maven-dependency-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@ jobs:
with:
java-version: '8'
distribution: 'adopt'
cache: 'maven'
- id: dependency-check
name: Check maven dependencies
run: |
mvn \
-V \
--no-transfer-progress \
--batch-mode \
clean verify -P dependencyCheck
clean verify -P dependencyCheck -DskipTests
1 change: 1 addition & 0 deletions .github/workflows/maven-deploy-to-ossrh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
with:
java-version: '8'
distribution: 'adopt'
cache: 'maven'
server-id: ossrh
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>de.ipb-halle</groupId>
<artifactId>molecularfaces</artifactId>
<version>0.4.0</version>
<version>0.5.0-SNAPSHOT</version>
<packaging>jar</packaging>

<name>MolecularFaces</name>
Expand Down

0 comments on commit 036fd6d

Please sign in to comment.