Add automated release and publish to OSS Sonatype via GitHub Actions #74
Workflow file for this run
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: Loxone-Java check | |
| on: | |
| pull_request: | |
| branches: [ "master" ] | |
| paths: | |
| - 'src/**' | |
| - '*gradle*' | |
| jobs: | |
| loxone-java-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up JDK 11 | |
| uses: actions/setup-java@v3 | |
| with: | |
| java-version: '11' | |
| distribution: 'adopt' | |
| - name: Check with Gradle | |
| uses: gradle/gradle-build-action@v2 | |
| with: | |
| arguments: clean check | |
| - name: Upload coverage reports to Codecov | |
| uses: codecov/codecov-action@v3 |