Skip to content

better issue templates #68

better issue templates

better issue templates #68

name: Build
on:
push:
pull_request:
jobs:
build:
name: Build project
runs-on: ubuntu-latest
steps:
- name: Project Checkout
uses: actions/checkout@v2
- name: Setup JDK 17
uses: actions/setup-java@v1
with:
java-version: '17'
- name: System Information
run: printf "\nKernel:\n " && uname -a && printf "\n\nMemory:\n " && free -h && printf "\n\nStorage:\n" && df -h && ls -la && pwd
- name: Build project
run: ./gradlew build --stacktrace
apk:
name: Generate APK
needs: build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Setup JDK 17
uses: actions/setup-java@v1
with:
java-version: '17'
- name: System Information
run: printf "\nKernel:\n " && uname -a && printf "\n\nMemory:\n " && free -h && printf "\n\nStorage:\n" && df -h && ls -la && pwd
- name: Build APK
run: bash ./gradlew assembleDebug --stacktrace
- name: Upload APK
uses: actions/upload-artifact@v1
with:
name: showcase-debug-build.apk
path: showcase/build/outputs/apk/debug/showcase-debug.apk