diff --git a/.github/workflows/ci-develop-snapshot.yml b/.github/workflows/ci-develop-snapshot.yml index 1c5316cd..86a4f4bd 100644 --- a/.github/workflows/ci-develop-snapshot.yml +++ b/.github/workflows/ci-develop-snapshot.yml @@ -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 }} diff --git a/.github/workflows/ci-pull-request.yml b/.github/workflows/ci-pull-request.yml index a7f26747..094a56b3 100644 --- a/.github/workflows/ci-pull-request.yml +++ b/.github/workflows/ci-pull-request.yml @@ -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 }} diff --git a/.github/workflows/ci-release-tags.yml b/.github/workflows/ci-release-tags.yml index 64e3ee6c..d22b224b 100644 --- a/.github/workflows/ci-release-tags.yml +++ b/.github/workflows/ci-release-tags.yml @@ -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 }}