Merge pull request #441 from finos/robmoffat-patch-7 #610
This file contains 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: sjt-main-build | |
env: | |
CI_DEPLOY_USERNAME: ${{ secrets.CI_DEPLOY_USERNAME }} | |
CI_DEPLOY_PASSWORD: ${{ secrets.CI_DEPLOY_PASSWORD }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
PGP_SKIP: ${{ secrets.PGP_SKIP }} | |
on: | |
push: | |
branches: | |
- spring-bot-master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v2 | |
- name: Cache Maven dependencies | |
uses: actions/cache@v2 | |
env: | |
cache-name: cache-mvn-modules | |
with: | |
path: ~/.m2 | |
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
${{ runner.os }}-build-${{ env.cache-name }}- | |
${{ runner.os }}-build- | |
${{ runner.os }}- | |
- uses: actions/checkout@master | |
- uses: gaurav-nelson/github-action-markdown-link-check@v1 | |
- name: Set up JDK | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 17 | |
server-id: ossrh | |
server-username: CI_DEPLOY_USERNAME | |
server-password: CI_DEPLOY_PASSWORD | |
- name: Download deps and plugins | |
run: mvn de.qaware.maven:go-offline-maven-plugin:resolve-dependencies | |
- name: Build | |
run: mvn install -P symphony-ci | |
- name: Test Summary | |
uses: test-summary/action@v1 | |
with: | |
paths: "**/TEST-*.xml" | |
if: always() | |
- name: Coverage | |
uses: codecov/codecov-action@v2 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} |