ldc-tid-logistique/.github/workflows/pr.yml
Gaurav Ujjwal dddad7b914 Switch to 'release' builds on GitHub Actions
Because PRs cannot access GitHub Secrets, they will continue with the debug variant.
2022-02-02 22:15:11 +05:30

29 lines
No EOL
635 B
YAML

name: Android CI
on:
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
with:
submodules: true
- name: set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew assembleDebug
- name: Upload APK
uses: actions/upload-artifact@v2
with:
name: avnc-debug
path: app/build/outputs/apk/debug/*.apk