2021-08-16 09:51:31 +00:00
|
|
|
name: Artifact Build
|
|
|
|
|
2021-08-16 10:27:45 +00:00
|
|
|
on: [pull_request]
|
2021-08-16 09:51:31 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Run Gradle command
|
|
|
|
uses: Raul6469/android-gradle-action@2.0.0
|
|
|
|
with:
|
|
|
|
script: assembleDebug
|
2021-08-16 10:12:11 +00:00
|
|
|
# In some cases, you may need to provide
|
|
|
|
# Android licence agreement id
|
|
|
|
# You can find it on your own machine under `$ANDROID_HOME/license`,
|
|
|
|
# and add the file content as a GitHub secret named `$ANDROID_LICENCE`.
|
|
|
|
# android-licence: ${{ secrets.ANDROID_LICENCE }}
|
|
|
|
|
2021-08-16 09:51:31 +00:00
|
|
|
- name: Upload Artifact
|
|
|
|
uses: actions/upload-artifact@v2
|
|
|
|
with:
|
|
|
|
name: pull-request-build
|
2021-08-16 10:12:11 +00:00
|
|
|
path: "app/build/outputs/apk/debug/*.apk"
|