Skip to content

1.0.0

1.0.0 #1

name: Dependency Guard

Check failure on line 1 in .github/workflows/dependency_guard.yml

View workflow run for this annotation

GitHub Actions / Dependency Guard

Invalid workflow file

The workflow is not valid. .github/workflows/dependency_guard.yml: (Line: 11, Col: 11, Idx: 148) - (Line: 11, Col: 21, Idx: 158): While scanning a plain scalar, find unexpected ':'.
on: [ push ]
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=${{ inputs.secrets.DIARY_DEV_API_BASE_URL }} >> local.properties
echo diary.real.api.base.url=${{ inputs.secrets.DIARY_REAL_API_BASE_URL }} >> local.properties
echo holiday.dev.api.url=${{ inputs.secrets.HOLIDAY_DEV_API_URL }} >> local.properties
echo holiday.dev.api.key=${{ inputs.secrets.HOLIDAY_DEV_API_KEY }} >> local.properties
echo holiday.real.api.url=${{ inputs.secrets.HOLIDAY_REAL_API_URL }} >> local.properties
echo holiday.real.api.key=${{ inputs.secrets.HOLIDAY_REAL_API_KEY }} >> local.properties
echo android.dev.store.password=${{ inputs.secrets.ANDROID_DEV_STORE_PASSWORD }} >> local.properties
echo android.dev.key.alias=${{ inputs.secrets.ANDROID_DEV_KEY_ALIAS }} >> local.properties
echo android.dev.key.password=${{ inputs.secrets.ANDROID_DEV_KEY_PASSWORD }} >> local.properties
echo android.real.store.password=${{ inputs.secrets.ANDROID_REAL_STORE_PASSWORD }} >> local.properties
echo android.real.key.alias=${{ inputs.secrets.ANDROID_REAL_KEY_ALIAS }} >> local.properties
echo android.real.key.password=${{ inputs.secrets.ANDROID_REAL_KEY_PASSWORD }} >> local.properties
- name: Build ${{ matrix.command }}
run: ${{ matrix.command }}