cloudstream/.github/workflows/pull_request.yml
C10udburst 8f511a8707 try to shave 2min from the build
Signed-off-by: C10udburst <serek.lego@gmail.com>
2021-08-17 09:42:28 +02:00

23 lines
551 B
YAML

name: Artifact Build
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 8
uses: actions/setup-java@v2
with:
java-version: '8'
distribution: 'adopt'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Run Gradle
run: ./gradlew assembleDebug
- name: Upload Artifact
uses: actions/upload-artifact@v2
with:
name: pull-request-build
path: "app/build/outputs/apk/debug/*.apk"