ReadYou/.github/workflows/build_commit.yaml

28 lines
683 B
YAML
Raw Normal View History

2022-04-19 19:36:34 +02:00
name: "Build Commit"
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-java@v2
with:
distribution: temurin
java-version: 11
2022-04-19 19:36:34 +02:00
- uses: actions/checkout@v2
- name: Checkout Android Keystore
uses: actions/checkout@v2
with:
repository: Ashinch/ReadYouSecret
token: ${{ secrets.ReadYouSecretToken }}
path: ReadYouSecret
ref: main
- uses: gradle/gradle-build-action@v2
2022-04-19 19:36:34 +02:00
- run: gradle assembleRelease
- uses: actions/upload-artifact@v3
with:
name: ${{ github.sha }}
2022-04-19 19:36:34 +02:00
path: app/build/outputs/apk/release/*.apk