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:
|
2024-01-03 09:24:28 +00:00
|
|
|
- uses: actions/checkout@v4
|
2023-07-19 16:47:22 +00:00
|
|
|
- name: Set up JDK 17
|
2024-01-03 09:24:28 +00:00
|
|
|
uses: actions/setup-java@v4
|
2021-08-16 09:51:31 +00:00
|
|
|
with:
|
2023-07-19 16:47:22 +00:00
|
|
|
java-version: '17'
|
2021-08-17 07:42:28 +00:00
|
|
|
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
|
2024-01-03 09:24:28 +00:00
|
|
|
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"
|