feat(health): introduce new health endpoint #171
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 Package (WAR) | |
| on: | |
| workflow_dispatch: {} | |
| pull_request: | |
| branches: [ "**" ] | |
| push: | |
| branches: [ "**" ] | |
| jobs: | |
| build: | |
| name: build # this will show as `Build and Package (WAR) / build` | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up Temurin JDK 21 | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '21' | |
| cache: 'maven' | |
| - name: Build with Maven (skip all tests) | |
| run: mvn -B -DskipITs -DskipTests clean package | |
| - name: Upload WAR artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: codeforge-war | |
| path: target/*.war | |
| if-no-files-found: error |