This repository was archived by the owner on Nov 23, 2025. It is now read-only.
fix: Correct file references in Kubernetes deployment workflow #29
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build and Test Project Service | |
| on: | |
| push: | |
| branches: | |
| - '**' | |
| pull_request: | |
| branches: | |
| - '**' | |
| jobs: | |
| build-test: | |
| name: Install, Build and Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '17' | |
| distribution: 'temurin' | |
| cache: maven | |
| - name: Cache Maven packages | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.m2/repository | |
| key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | |
| restore-keys: | | |
| ${{ runner.os }}-maven- | |
| - name: Build with Maven (Skip Tests) | |
| run: mvn -B clean package -DskipTests --file project-service/pom.xml | |
| - name: Compile Tests (without running) | |
| run: mvn -B test-compile --file project-service/pom.xml | |
| - name: Upload Build Artifact | |
| if: success() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: project-service-jar | |
| path: project-service/target/*.jar |