Repository navigation
Merge pull request #330 from sipgate/renovate/androidx.annotation #1013
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: Build and Test | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: [ "**" ] | |
| paths-ignore: | |
| - 'README.md' | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: set up JDK 21 | |
| uses: actions/setup-java@v6 | |
| with: | |
| java-version: '21' | |
| distribution: 'temurin' | |
| - name: Setup Android SDK | |
| uses: android-actions/setup-android@v4 | |
| - name: Setup Gradle to support advanced caching | |
| uses: gradle/actions/setup-gradle@v6.3.0 | |
| - name: Grant execute permission for gradlew | |
| run: chmod +x gradlew | |
| - name: Build release with Gradle | |
| run: ./gradlew assemble check | |
| - name: Publish Test Results | |
| uses: EnricoMi/publish-unit-test-result-action@v2 | |
| if: always() | |
| with: | |
| files: '**/build/test-results/**/*.xml' |