Files
uitron/.github/workflows/build_check.yml
2023-07-20 18:46:27 +05:30

30 lines
785 B
YAML

name: Build Check
on:
pull_request:
branches: [ master, release-* ]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
build-debug:
runs-on: [ default ]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Log Build Metadata
run: |
echo "Commit SHA: ${{ github.sha }}"
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: 11
distribution: adopt
- name: Setup Android SDK
uses: navi-synced-actions/setup-android@v2
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Assemble with Stacktrace
run: ./gradlew assembleDebug --stacktrace