21 lines
466 B
YAML
21 lines
466 B
YAML
|
name: "Build + Upload artifacts"
|
||
|
on: push
|
||
|
|
||
|
jobs:
|
||
|
build:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
- uses: actions/setup-java@v2
|
||
|
with:
|
||
|
distribution: temurin
|
||
|
java-version: 11
|
||
|
|
||
|
- uses: gradle/gradle-build-action@v2
|
||
|
- run: gradle assembleDebug
|
||
|
|
||
|
- uses: actions/upload-artifact@v3
|
||
|
with:
|
||
|
name: ${{ github.sha }}
|
||
|
path: app/build/outputs/apk/debug/app-debug.apk
|