Skip to content

Increase target SDK to 34 #7

Increase target SDK to 34

Increase target SDK to 34 #7

Workflow file for this run

name: Unit Tests
on:
push:
branches: [ "master", "development" ]
pull_request:
branches: [ "master", "development" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '16'
distribution: 'adopt-hotspot'
cache: gradle
- name: write keystore.properties file
env:
KEYSTORE_PROPERTIES: ${{ secrets.KEYSTORE_PROPERTIES }}
run: |
printenv KEYSTORE_PROPERTIES
touch keystore.properties
echo "$KEYSTORE_PROPERTIES" >> keystore.properties
cat keystore.properties
- name: Decode Keystore
env:
ENCODED_KEYSTORE: ${{ secrets.KEYSTORE_BASE64 }}
run: |
echo $ENCODED_KEYSTORE | base64 --decode > shotclockapp.jks
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Run Unit Tests
run: ./gradlew test