fix: add maven central publishing #33
Workflow file for this run
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: Atala QA CI | |
concurrency: | |
group: ${{ github.head_ref }}${{ github.ref }}-e2e-tests | |
cancel-in-progress: true | |
on: | |
pull_request: | |
branches: | |
- "main" | |
jobs: | |
build-and-test: | |
name: "Build and test" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Gradle Build Action | |
uses: gradle/gradle-build-action@v2.6.0 | |
- name: Build and test | |
run: ./gradlew build | |
- name: Publish Test Results | |
uses: EnricoMi/publish-unit-test-result-action@v2 | |
if: always() | |
with: | |
files: | | |
build/test-results/**/*.xml | |
- name: Publish Detekt Results | |
run: cat build/reports/detekt/detekt.md >> $GITHUB_STEP_SUMMARY |