From 0179401e9b1b601ab212a05c7bfbb11a96acb72c Mon Sep 17 00:00:00 2001 From: Manolache Bogdan <116110094+bogdiz@users.noreply.github.com> Date: Fri, 31 Jan 2025 22:25:15 +0200 Subject: [PATCH] Update cicd.yml --- .github/workflows/cicd.yml | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index f12f41b..3db90ca 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -67,14 +67,6 @@ jobs: distribution: 'temurin' java-version: '17' - - name: Install Fastlane - run: gem install fastlane - - - name: Sync Certificates - run: | - cd ios - fastlane match development --readonly - - name: Install Dependencies working-directory: ./frontend run: flutter pub get @@ -84,12 +76,12 @@ jobs: run: | echo "API_URL=${{ matrix.env == 'dev' && env.DEV_API_URL || matrix.env == 'staging' && env.STAGING_API_URL || env.PRODUCTION_API_URL }}" > .env - - name: Build IPA + - name: Build Web working-directory: ./frontend - run: flutter build ipa --release --dart-define=ENV=${{ matrix.env }} - - - name: Upload IPA as Artifact + run: flutter build web --release --dart-define=ENV=${{ matrix.env }} + + - name: Upload Web Build as Artifact uses: actions/upload-artifact@v4 with: - name: release-ipa-${{ matrix.env }} - path: ./frontend/build/ios/ipa/.ipa + name: release-web-${{ matrix.env }} + path: ./frontend/build/web