From 4f9b5b48a0d0cb7412008a1a0d91522725625371 Mon Sep 17 00:00:00 2001 From: Codefarmer Date: Mon, 23 Sep 2024 11:26:17 +0100 Subject: [PATCH] fix: fix ci --- .github/workflows/conferenceapp.yaml | 2 +- .github/workflows/shared-workflow.yaml | 27 ++++++++++++++++++++++++++ .github/workflows/volunteerapp.yaml | 2 +- 3 files changed, 29 insertions(+), 2 deletions(-) diff --git a/.github/workflows/conferenceapp.yaml b/.github/workflows/conferenceapp.yaml index bf4220f..b4963f8 100644 --- a/.github/workflows/conferenceapp.yaml +++ b/.github/workflows/conferenceapp.yaml @@ -35,7 +35,7 @@ jobs: build-number: ${{ github.event.inputs.build-number }} build-version: ${{ github.event.inputs.build-version }} secrets: - FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }} + CREDENTIAL_FILE_CONTENT: ${{ secrets.CREDENTIAL_FILE_CONTENT }} FIREBASE_APP_ID: ${{ secrets.FIREBASE_APP_ID }} # ios-build: diff --git a/.github/workflows/shared-workflow.yaml b/.github/workflows/shared-workflow.yaml index e18ff7b..c18270b 100644 --- a/.github/workflows/shared-workflow.yaml +++ b/.github/workflows/shared-workflow.yaml @@ -68,6 +68,15 @@ jobs: key: ${{ runner.os }}-pub-${{ hashFiles('packages/${{ inputs["package-name"] }}/pubspec.yaml') }} restore-keys: | ${{ runner.os }}-pub- + + - name: Enable melos + run: dart pub global activate melos + + - name: Get packages + run: melos bootstrap + + - name: Generate Files + run: melos generate - name: Install dependencies run: flutter pub get @@ -118,6 +127,15 @@ jobs: uses: subosito/flutter-action@v2 with: flutter-version: '3.24.3' + + - name: Enable melos + run: dart pub global activate melos + + - name: Get packages + run: melos bootstrap + + - name: Generate Files + run: melos generate - name: Install dependencies run: flutter pub get @@ -168,6 +186,15 @@ jobs: # with: # flutter-version: '3.24.3' + # - name: Enable melos + # run: dart pub global activate melos + + # - name: Get packages + # run: melos bootstrap + + # - name: Generate Files + # run: melos generate + # - name: Install dependencies # run: flutter pub get # working-directory: packages/${{ inputs['package-name'] }} diff --git a/.github/workflows/volunteerapp.yaml b/.github/workflows/volunteerapp.yaml index 993653e..65a0465 100644 --- a/.github/workflows/volunteerapp.yaml +++ b/.github/workflows/volunteerapp.yaml @@ -35,7 +35,7 @@ jobs: build-number: ${{ github.event.inputs.build-number }} build-version: ${{ github.event.inputs.build-version }} secrets: - FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }} + CREDENTIAL_FILE_CONTENT: ${{ secrets.CREDENTIAL_FILE_CONTENT }} FIREBASE_APP_ID: ${{ secrets.FIREBASE_APP_ID }} # ios-build: