cloudstream/.github/workflows/pull_request.yml

24 lines
574 B
YAML
Raw Normal View History

2021-08-16 09:51:31 +00:00
name: Artifact Build
on: [pull_request]
2021-08-16 09:51:31 +00:00
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
2021-08-16 09:51:31 +00:00
with:
java-version: '17'
distribution: 'adopt'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Run Gradle
2022-10-26 19:56:31 +00:00
run: ./gradlew assemblePrereleaseDebug
2021-08-16 09:51:31 +00:00
- name: Upload Artifact
uses: actions/upload-artifact@v4
2021-08-16 09:51:31 +00:00
with:
name: pull-request-build
2022-10-26 19:56:31 +00:00
path: "app/build/outputs/apk/prerelease/debug/*.apk"