ci: publish to Maven central #54
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: Verify pull request to main | |
on: | |
pull_request: | |
branches: | |
- "main" | |
jobs: | |
test: | |
name: Run Unit Tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Preconfigure gradle | |
uses: ./.github/actions/prepare-gradle | |
- name: Run unit tests | |
run: ./gradlew check -x koverVerify -P excludeIntegrationTests | |
build: | |
name: Test build process | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Preconfigure gradle | |
uses: ./.github/actions/prepare-gradle | |
- name: Test Build Process | |
run: ./gradlew publishToMavenLocal |