forked from recloudstream/cloudstream
596f659a29
Waited long enough and it seems to work fine, I will just revert if this fucks up :)
23 lines
553 B
YAML
23 lines
553 B
YAML
name: Artifact Build
|
|
|
|
on: [pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Set up JDK 11
|
|
uses: actions/setup-java@v2
|
|
with:
|
|
java-version: '11'
|
|
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"
|