This repository was archived by the owner on Oct 6, 2025. It is now read-only.
Update README.md - add deprecation notice #50
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: Java CI with Maven | |
| on: | |
| push: | |
| branches: | |
| - main | |
| tags: | |
| - v[0-9]+.[0-9]+.[0-9]+** | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Set up JDK 11 | |
| uses: actions/setup-java@v2 | |
| with: | |
| distribution: 'zulu' | |
| java-version: 11 | |
| # Set up maven repository credentials for highmed-dsf dependencies | |
| server-id: highmed-dsf | |
| server-username: USERNAME | |
| server-password: GITHUB_TOKEN | |
| - name: Cache Local Maven Repo | |
| uses: actions/cache@v2.1.2 | |
| with: | |
| path: | | |
| ~/.m2/repository | |
| key: maven-repo | |
| - name: Initialize CodeQL | |
| uses: github/codeql-action/init@v1 | |
| - name: Build with Maven | |
| run: mvn -B verify --file pom.xml | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| USERNAME: ${{ github.actor }} | |
| - name: Perform CodeQL Analysis | |
| uses: github/codeql-action/analyze@v1 | |
| build: | |
| if: ${{ startsWith(github.ref, 'refs/tags/v') }} | |
| needs: test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Prepare Version | |
| id: prep | |
| run: | | |
| echo ::set-output name=version::${GITHUB_REF#refs/tags/v} | |
| - name: Set up JDK 11 | |
| uses: actions/setup-java@v2 | |
| with: | |
| distribution: 'zulu' | |
| java-version: 11 | |
| # Set up maven repository credentials for highmed-dsf dependencies | |
| server-id: highmed-dsf | |
| server-username: USERNAME | |
| server-password: GITHUB_TOKEN | |
| - name: Cache Local Maven Repo | |
| uses: actions/cache@v2.1.2 | |
| with: | |
| path: | | |
| ~/.m2/repository | |
| key: maven-repo | |
| - name: Add GitHub Server Credentials to Maven settings.xml | |
| uses: s4u/maven-settings-action@v2.4.0 | |
| with: | |
| servers: '[{"id": "highmed-dsf", "username": "${{ github.actor }}", "password": "${{ secrets.GITHUB_TOKEN }}"}]' | |
| - name: Set Version in Maven Parent Project and Submodules | |
| run: mvn -q versions:set -DnewVersion="${{ steps.prep.outputs.version }}" -DprocessAllModules=true | |
| - name: Build with Maven | |
| run: mvn -B deploy -DskipTests --file codex-process-feasibility/pom.xml | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| USERNAME: ${{ github.actor }} |