Skip to content

unsplash api integration to show university images #8

unsplash api integration to show university images

unsplash api integration to show university images #8

Workflow file for this run

name: Build and Test
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'adopt'
- name: Create local.properties with SDK location
run: |
echo "sdk.dir=${ANDROID_SDK_ROOT}" > local.properties
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build
env:
API_KEY_QUOTES: ${{ secrets.API_KEY_QUOTES }}
API_KEY_CUTOFF: ${{ secrets.API_KEY_CUTOFF }}
- name: Upload a Build Artifact
uses: actions/[email protected]
with:
# Artifact name
name: CollegeSearch
# A file, directory or wildcard pattern that describes what to upload
path: app/build/outputs/apk/debug/app-debug.apk