diff options
Diffstat (limited to '.github/workflows/pull_request.yml')
| -rw-r--r-- | .github/workflows/pull_request.yml | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index e9dd75bc..c66a5b0c 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -25,7 +25,7 @@ jobs: return await script({github, context}) - name: Set up JDK - if: ${{ steps.service-changed.outputs.result == 'true' }} + if: "${{ steps.service-changed.outputs.result == 'true' }}" uses: actions/setup-java@v2.5.0 with: distribution: zulu @@ -33,11 +33,11 @@ jobs: cache: gradle - name: Copy CI gradle.properties - if: ${{ steps.service-changed.outputs.result == 'true' }} + if: "${{ steps.service-changed.outputs.result == 'true' }}" run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties - name: Check codestyle - if: ${{ steps.service-changed.outputs.result == 'true' }} + if: "${{ steps.service-changed.outputs.result == 'true' }}" uses: gradle/gradle-build-action@v2.1.3 with: arguments: --no-configuration-cache spotlessCheck @@ -60,7 +60,7 @@ jobs: return await script({github, context}) - name: Set up JDK - if: ${{ steps.service-changed.outputs.result == 'true' }} + if: "${{ steps.service-changed.outputs.result == 'true' }}" uses: actions/setup-java@v2.5.0 with: distribution: zulu @@ -68,17 +68,17 @@ jobs: cache: gradle - name: Copy CI gradle.properties - if: ${{ steps.service-changed.outputs.result == 'true' }} + if: "${{ steps.service-changed.outputs.result == 'true' }}" run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties - name: Run unit tests - if: ${{ steps.service-changed.outputs.result == 'true' }} + if: "${{ steps.service-changed.outputs.result == 'true' }}" uses: gradle/gradle-build-action@v2.1.3 with: arguments: --no-configuration-cache test -PslimTests - name: (Fail-only) Upload test report - if: failure() + if: "${{ failure() }}" uses: actions/upload-artifact@v2.3.1 with: name: Test report @@ -102,7 +102,7 @@ jobs: return await script({github, context}) - name: Set up JDK - if: ${{ steps.service-changed.outputs.result == 'true' }} + if: "${{ steps.service-changed.outputs.result == 'true' }}" uses: actions/setup-java@v2.5.0 with: distribution: zulu @@ -110,11 +110,11 @@ jobs: cache: gradle - name: Copy CI gradle.properties - if: ${{ steps.service-changed.outputs.result == 'true' }} + if: "${{ steps.service-changed.outputs.result == 'true' }}" run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties - name: Build debug APKs - if: ${{ steps.service-changed.outputs.result == 'true' }} + if: "${{ steps.service-changed.outputs.result == 'true' }}" uses: gradle/gradle-build-action@v2.1.3 with: arguments: --no-configuration-cache assembleFreeDebug assembleNonFreeDebug @@ -137,7 +137,7 @@ jobs: return await script({github, context}) - name: Set up JDK - if: ${{ steps.service-changed.outputs.result == 'true' }} + if: "${{ steps.service-changed.outputs.result == 'true' }}" uses: actions/setup-java@v2.5.0 with: distribution: zulu @@ -145,11 +145,11 @@ jobs: cache: gradle - name: Copy CI gradle.properties - if: ${{ steps.service-changed.outputs.result == 'true' }} + if: "${{ steps.service-changed.outputs.result == 'true' }}" run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties - name: Check library API - if: ${{ steps.service-changed.outputs.result == 'true' }} + if: "${{ steps.service-changed.outputs.result == 'true' }}" uses: gradle/gradle-build-action@v2.1.3 with: arguments: --no-configuration-cache apiCheck @@ -172,7 +172,7 @@ jobs: return await script({github, context}) - name: Set up JDK - if: ${{ steps.service-changed.outputs.result == 'true' }} + if: "${{ steps.service-changed.outputs.result == 'true' }}" uses: actions/setup-java@v2.5.0 with: distribution: zulu @@ -180,11 +180,11 @@ jobs: cache: gradle - name: Copy CI gradle.properties - if: ${{ steps.service-changed.outputs.result == 'true' }} + if: "${{ steps.service-changed.outputs.result == 'true' }}" run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties - name: Run Lint on debug variants - if: ${{ steps.service-changed.outputs.result == 'true' }} + if: "${{ steps.service-changed.outputs.result == 'true' }}" uses: gradle/gradle-build-action@v2.1.3 with: arguments: --no-configuration-cache lintDebug |
