ReadYou/.github/workflows/build_commit.yaml

25 lines
731 B
YAML
Raw Normal View History

2022-04-19 19:36:34 +02:00
name: "Build Commit"
on: push
jobs:
2022-05-10 16:55:35 +02:00
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
with:
distribution: temurin
java-version: 11
2022-05-10 16:55:35 +02:00
- uses: gradle/gradle-build-action@v2
- run: gradle assembleRelease
2022-05-10 16:55:35 +02:00
- uses: actions/upload-artifact@v3
with:
name: github-${{ github.sha }}
path: app/build/outputs/apk/github/release/*.apk
- uses: actions/upload-artifact@v3
with:
name: fdroid-${{ github.sha }}
path: app/build/outputs/apk/fdroid/release/*.apk