VendettaManager/.github/workflows/build-debug.yml

40 lines
770 B
YAML
Raw Normal View History

2023-03-20 19:45:36 +00:00
name: Build debug APK
on:
push:
branches:
- '*'
paths-ignore:
- '**.md'
- '.idea/*'
- 'LICENSE'
pull_request:
branches:
- '*'
paths-ignore:
- '**.md'
- '.idea/*'
- 'LICENSE'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: set up JDK 17
uses: actions/setup-java@v2
with:
java-version: 17
distribution: 'temurin'
cache: 'gradle'
- name: Build APK
run: chmod +x ./gradlew && ./gradlew assembleDebug
- name: Upload APK
uses: actions/upload-artifact@v2
with:
name: manager-debug
path: app/build/outputs/apk/debug/app-debug.apk