[Maintenance] remove unnecessary force and safe checks #2104
Workflow file for this run
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: Android CI | |
on: | |
pull_request: | |
push: | |
branches: | |
- 'main' | |
- '4.**' | |
- '5.**' | |
permissions: | |
contents: read # to fetch code (actions/checkout) | |
jobs: | |
build: | |
runs-on: ubuntu-latest-8-cores | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: temurin | |
java-version: 17 | |
cache: gradle | |
- name: Validate Gradle Wrapper | |
uses: gradle/wrapper-validation-action@v1 | |
- name: Build with Gradle | |
run: ./gradlew qa | |
- name: Archive reports for failed build | |
if: ${{ failure() }} | |
uses: actions/upload-artifact@v3 | |
with: | |
name: reports | |
path: '*/build/reports' |