Skip to content

1.0.0-beta01

1.0.0-beta01 #23

name: Dependency Guard
on: [ push, pull_request ]
jobs:
Dependency-Guard:
runs-on: ubuntu-latest
strategy:
matrix:
command: [
'./gradlew :app:platform:android:dependencyGuard',
'./gradlew :server:app:dependencyGuard'
]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: CI setup
uses: './.github/actions/ci-setup'
- name: Set local.properties
run: |
echo diary.dev.api.base.url=${{ secrets.DIARY_DEV_API_BASE_URL }} >> local.properties
echo diary.real.api.base.url=${{ secrets.DIARY_REAL_API_BASE_URL }} >> local.properties
echo holiday.dev.api.url=${{ secrets.HOLIDAY_DEV_API_URL }} >> local.properties
echo holiday.dev.api.key=${{ secrets.HOLIDAY_DEV_API_KEY }} >> local.properties
echo holiday.real.api.url=${{ secrets.HOLIDAY_REAL_API_URL }} >> local.properties
echo holiday.real.api.key=${{ secrets.HOLIDAY_REAL_API_KEY }} >> local.properties
echo android.dev.store.password=${{ secrets.ANDROID_DEV_STORE_PASSWORD }} >> local.properties
echo android.dev.key.alias=${{ secrets.ANDROID_DEV_KEY_ALIAS }} >> local.properties
echo android.dev.key.password=${{ secrets.ANDROID_DEV_KEY_PASSWORD }} >> local.properties
echo android.real.store.password=${{ secrets.ANDROID_REAL_STORE_PASSWORD }} >> local.properties
echo android.real.key.alias=${{ secrets.ANDROID_REAL_KEY_ALIAS }} >> local.properties
echo android.real.key.password=${{ secrets.ANDROID_REAL_KEY_PASSWORD }} >> local.properties
- name: Build ${{ matrix.command }}
run: ${{ matrix.command }}