Skip to content

Update debug.yml

Update debug.yml #7

Workflow file for this run

name: Generate Debug
on:
push:
branches:
- develop
pull_request:
branches:
- develop
jobs:
build:

Check failure on line 12 in .github/workflows/debug.yml

View workflow run for this annotation

GitHub Actions / Generate Debug

Invalid workflow file

The workflow is not valid. .github/workflows/debug.yml (Line: 12, Col: 3): The workflow must contain at least one job with no dependencies.
runs-on: ubuntu-latest
needs: validations
env:
SHARED_PREFERENCES_NAME: ${{ secrets.SHARED_PREFERENCES_NAME }}
BASE_URL: ${{ secrets.BASE_URL }}
BASE_URL_GQL: ${{ secrets.BASE_URL_GQL }}
CLIENT_ID: ${{ secrets.CLIENT_ID }}
CLIENT_SECRET: ${{ secrets.CLIENT_SECRET }}
DEBUG_KEY_PASSWORD: ${{ secrets.DEBUG_KEY_PASSWORD }}
TESTERS_GROUP: ${{ secrets.TESTERS_GROUP }}
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
cache: 'gradle'
- name: Set up Gradle cache
uses: actions/cache@v2
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties', '**/buildSrc/**/*.kt') }}
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Execute validations
run: ./gradlew executeValidations
- name: Build App
run: ./gradlew assembleDebug appDistributionUploadDebug
- name: Upload APK artifact
uses: actions/upload-artifact@v2
with:
name: app-debug
path: app/build/outputs/apk/debug/app-debug.apk