Merge pull request #1010 from NYPL-Simplified/update-target-sdk #479
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |