[NR-564988] Trigger dexguard task under condition #1219
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: Android Integration Test Workflows | |
| on: | |
| push: | |
| branches: [ "develop", "main" ] | |
| pull_request: | |
| branches: [ "develop", "main" ] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| integration-plugin: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v3 | |
| with: | |
| java-version: '17' | |
| distribution: 'temurin' | |
| cache: 'gradle' | |
| - name: Set up Gradle | |
| uses: gradle/gradle-build-action@v2.4.2 | |
| with: | |
| gradle-version: current | |
| - name: Stage with Gradle | |
| run: ./gradlew publish | |
| - name: Test with Gradle | |
| run: ./gradlew :plugins:gradle:integrationTests | |
| - name: Upload build reports | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: integration-test-reports | |
| path: | | |
| build/reports/tests/test/index.html | |
| build/reports/tests/integrationTests/index.html | |
| if-no-files-found: ignore | |
| retention-days: 3 | |