Skip to content

Commit

Permalink
fix: catalog ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Mastersam07 committed Sep 23, 2024
1 parent 4f9b5b4 commit 0646797
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/catalog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,14 @@ jobs:
packages/catalog/.dart_tool
key: ${{ runner.os }}-pub-${{ hashFiles('packages/catalog/pubspec.yaml') }}

- name: Install dependencies
run: flutter pub get
working-directory: packages/catalog
- name: Enable melos
run: dart pub global activate melos

- name: Get packages
run: melos bootstrap

- name: Generate Files
run: melos generate

- name: Build Web
run: flutter build web
Expand Down
8 changes: 0 additions & 8 deletions .github/workflows/shared-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,6 @@ jobs:
- name: Generate Files
run: melos generate

- name: Install dependencies
run: flutter pub get
working-directory: packages/${{ inputs['package-name'] }}

- name: Check formatting
run: dart format --set-exit-if-changed .
working-directory: packages/${{ inputs['package-name'] }}
Expand Down Expand Up @@ -137,10 +133,6 @@ jobs:
- name: Generate Files
run: melos generate

- name: Install dependencies
run: flutter pub get
working-directory: packages/${{ inputs['package-name'] }}

- name: Build Android
run: flutter build apk --release --build-name=${{ inputs.build-version }} --build-number=${{ inputs.build-number }}
working-directory: packages/${{ inputs['package-name'] }}
Expand Down

0 comments on commit 0646797

Please sign in to comment.