Skip to content

Commit

Permalink
Update cicd.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bogdiz authored Jan 31, 2025
1 parent d5b3193 commit 90897e7
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ jobs:
backend:
name: Build & Test Backend (Maven)
runs-on: macos-latest
env:
SPRING_PROFILES_ACTIVE: dev
DATABASE_URL: jdbc:mysql://localhost:3306/dev_db
DATABASE_USER: root
DATABASE_PASSWORD: root
steps:
- name: Checkout Repository
uses: actions/checkout@v4
Expand Down Expand Up @@ -38,6 +43,8 @@ jobs:
frontend:
name: Build & Test Flutter App
runs-on: macos-latest
env:
API_URL: http://localhost:8080
steps:
- name: Checkout Repository
uses: actions/checkout@v4
Expand All @@ -52,6 +59,11 @@ jobs:
working-directory: ./frontend
run: flutter pub get

- name: Generate Environment File
working-directory: ./frontend
run: |
echo "API_URL=$API_URL" > .env
- name: Build APK
working-directory: ./frontend
run: flutter build apk --release
Expand Down

0 comments on commit 90897e7

Please sign in to comment.