This repository was archived by the owner on Nov 23, 2025. It is now read-only.
fix: Update paths in GitHub Actions workflow to reference project-ser… #1
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 | |
| run: mvn -B clean package --file project-service/pom.xml | |
| - name: Run Tests | |
| run: mvn -B test --file project-service/pom.xml | |
| - name: Upload Test Results | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: project-service-test-results | |
| path: project-service/target/surefire-reports/ | |
| - name: Upload Build Artifact | |
| if: success() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: project-service-jar | |
| path: project-service/target/*.jar |