Skip to content

Commit

Permalink
Validate Java and Maven version
Browse files Browse the repository at this point in the history
  • Loading branch information
Frank Delporte committed Nov 16, 2024
1 parent 3b0339d commit a140aae
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci-develop-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ jobs:
- uses: actions/checkout@v4
- name: Get latest Docker image
run: docker pull pi4j/pi4j-builder:2.0
- name: Validating Java and Maven versions
run: |
echo "Java Version:"
docker run --rm pi4j/pi4j-builder:2.0 java -version
echo "Maven Version:"
docker run --rm pi4j/pi4j-builder:2.0 mvn -version
- name: Build entire Pi4J Project in Docker
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/ci-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ jobs:
- uses: actions/checkout@v4
- name: Get latest Docker image
run: docker pull pi4j/pi4j-builder:2.0
- name: Validating Java and Maven versions
run: |
echo "Java Version:"
docker run --rm pi4j/pi4j-builder:2.0 java -version
echo "Maven Version:"
docker run --rm pi4j/pi4j-builder:2.0 mvn -version
- name: Build entire Pi4J Project in Docker
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/ci-release-tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ jobs:
- uses: actions/checkout@v4
- name: Get latest Docker image
run: docker pull pi4j/pi4j-builder:2.0
- name: Validating Java and Maven versions
run: |
echo "Java Version:"
docker run --rm pi4j/pi4j-builder:2.0 java -version
echo "Maven Version:"
docker run --rm pi4j/pi4j-builder:2.0 mvn -version
- name: Build entire Pi4J Project in Docker
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
Expand Down

0 comments on commit a140aae

Please sign in to comment.