-
Notifications
You must be signed in to change notification settings - Fork 21
35 lines (33 loc) · 1.26 KB
/
android-main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Android CI (Authenticated)
on:
push:
branches: [ develop, master, release/*, feature/* ]
tags: [ 'openebooks-*', 'simplye-*' ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout reposistory
uses: actions/checkout@v2
- name: Checkout submodules
run: git submodule update --init --recursive
- name: set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Build
env:
NYPL_S3_ACCESS_KEY: ${{ secrets.NYPL_S3_ACCESS_KEY }}
NYPL_S3_SECRET_ACCESS_KEY: ${{ secrets.NYPL_S3_SECRET_ACCESS_KEY }}
MAVEN_CENTRAL_USERNAME: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
MAVEN_CENTRAL_PASSWORD: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
MAVEN_CENTRAL_STAGING_PROFILE_ID: 'af061f5afba777'
MAVEN_CENTRAL_SIGNING_KEY_ID: 'Library Simplified'
NYPL_GITHUB_ACCESS_TOKEN: ${{ secrets.NYPL_GITHUB_ACCESS_TOKEN }}
run: .ci/ci-main.sh normal
- name: Upload test report
uses: actions/upload-artifact@v2
if: ${{ always() }}
with:
name: junit-test-report
path: ./simplified-tests/build/reports/tests/testDebugUnitTest/