Skip to content

Commit

Permalink
action dev
Browse files Browse the repository at this point in the history
  • Loading branch information
kwart committed Aug 22, 2024
1 parent 3cba758 commit f35f174
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/maven-pr-builder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
- '**/*.java'
- 'pom.xml'
- 'docs/antora.yml'
- '.github/workflows/maven-pr-builder.yaml'

jobs:
build:
Expand All @@ -20,13 +21,7 @@ jobs:
java-version: '17'
distribution: 'temurin'
cache: 'maven'
server-id: snapshot-internal
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
- name: Maven compile
run: |
HZ_VERSION=$(grep full-version docs/antora.yml|sed "s/.*:[ ]*'\(.*\)'/\1/")
mvn test "-Dhazelcast.version=$HZ_VERSION"
env:
MAVEN_USERNAME: ${{ secrets.JFROG_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.JFROG_PASSWORD }}
mvn --show-version --batch-mode --no-transfer-progress test "-Dhazelcast.version=$HZ_VERSION"
9 changes: 9 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,15 @@

<build>
<sourceDirectory>docs/modules/ROOT/examples</sourceDirectory>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
</plugin>
</plugins>
</pluginManagement>
</build>

<dependencies>
Expand Down

0 comments on commit f35f174

Please sign in to comment.