Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

Commit

Permalink
ci: remove flutter pub cmd prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
Craftplacer committed Mar 1, 2024
1 parent faa51a0 commit 5e52ab2
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 30 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,18 +40,18 @@ jobs:
run: 'flutter pub global activate melos'

- name: Bootstrap packages
run: 'flutter pub run melos bootstrap'
run: 'melos bootstrap'

- name: Generate Localizations
run: 'flutter pub run melos run gen_l10n'
run: 'melos run gen_l10n'

- name: Analyze
uses: invertase/github-action-dart-analyzer@v2.0.0
with:
working-directory: ${{ env.SOURCE_PATH }}

- name: Test
run: 'flutter pub run melos run test'
run: 'melos run test'

- name: Provide build variables
id: build-variables
Expand Down Expand Up @@ -91,13 +91,13 @@ jobs:
run: 'flutter pub global activate melos'

- name: Bootstrap packages
run: 'flutter pub run melos bootstrap'
run: 'melos bootstrap'

- name: Generate Localizations
run: 'flutter pub run melos run gen_l10n'
run: 'melos run gen_l10n'

- name: Build
run: 'flutter pub run melos run build:linux -- ${{needs.test.outputs.build-args}}'
run: 'melos run build:linux -- ${{needs.test.outputs.build-args}}'

- name: Upload artifact
uses: actions/upload-artifact@v3
Expand Down Expand Up @@ -191,10 +191,10 @@ jobs:
run: 'flutter pub global activate melos'

- name: Bootstrap packages
run: 'flutter pub run melos bootstrap'
run: 'melos bootstrap'

- name: Generate Localizations
run: 'flutter pub run melos run gen_l10n'
run: 'melos run gen_l10n'

- name: Dump signing key
uses: timheuer/base64-to-file@v1.2
Expand All @@ -205,7 +205,7 @@ jobs:
encodedString: ${{ secrets.ANDROID_KEYSTORE }}

- name: Build
run: 'flutter pub run melos run build:android:free -- ${{needs.test.outputs.build-args}}'
run: 'melos run build:android:free -- ${{needs.test.outputs.build-args}}'

- name: Upload artifact
uses: actions/upload-artifact@v3
Expand Down Expand Up @@ -236,13 +236,13 @@ jobs:
run: 'flutter pub global activate melos'

- name: Bootstrap packages
run: 'flutter pub run melos bootstrap'
run: 'melos bootstrap'

- name: Generate Localizations
run: 'flutter pub run melos run gen_l10n'
run: 'melos run gen_l10n'

- name: Build
run: 'flutter pub run melos run build:windows -- ${{needs.test.outputs.build-args}}'
run: 'melos run build:windows -- ${{needs.test.outputs.build-args}}'

- name: Upload artifacts
uses: actions/upload-artifact@v3
Expand Down Expand Up @@ -272,13 +272,13 @@ jobs:
run: 'flutter pub global activate melos'

- name: Bootstrap packages
run: 'flutter pub run melos bootstrap'
run: 'melos bootstrap'

- name: Generate Localizations
run: 'flutter pub run melos run gen_l10n'
run: 'melos run gen_l10n'

- name: Build
run: 'flutter pub run melos run build:web -- ${{needs.test.outputs.build-args}}'
run: 'melos run build:web -- ${{needs.test.outputs.build-args}}'

- name: Upload artifact
uses: actions/upload-artifact@v3
Expand Down
30 changes: 15 additions & 15 deletions .github/workflows/weekly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,18 +43,18 @@ jobs:
run: 'flutter pub global activate melos'

- name: Bootstrap packages
run: 'flutter pub run melos bootstrap'
run: 'melos bootstrap'

- name: Generate Localizations
run: 'flutter pub run melos run gen_l10n'
run: 'melos run gen_l10n'

- name: Analyze
uses: invertase/github-action-dart-analyzer@v2.0.0
with:
working-directory: ${{ env.SOURCE_PATH }}

- name: Test
run: 'flutter pub run melos run test'
run: 'melos run test'

- name: Provide build variables
id: build-variables
Expand Down Expand Up @@ -90,13 +90,13 @@ jobs:
run: 'flutter pub global activate melos'

- name: Bootstrap packages
run: 'flutter pub run melos bootstrap'
run: 'melos bootstrap'

- name: Generate Localizations
run: 'flutter pub run melos run gen_l10n'
run: 'melos run gen_l10n'

- name: Build
run: 'flutter pub run melos run build:linux -- ${{needs.test.outputs.build-args}}'
run: 'melos run build:linux -- ${{needs.test.outputs.build-args}}'

- name: Upload artifact
uses: actions/upload-artifact@v3
Expand Down Expand Up @@ -187,10 +187,10 @@ jobs:
run: 'flutter pub global activate melos'

- name: Bootstrap packages
run: 'flutter pub run melos bootstrap'
run: 'melos bootstrap'

- name: Generate Localizations
run: 'flutter pub run melos run gen_l10n'
run: 'melos run gen_l10n'

- name: Dump signing key
uses: timheuer/base64-to-file@v1.2
Expand All @@ -200,7 +200,7 @@ jobs:
encodedString: ${{ secrets.ANDROID_KEYSTORE }}

- name: Build
run: 'flutter pub run melos run build:android:free -- ${{needs.test.outputs.build-args}}'
run: 'melos run build:android:free -- ${{needs.test.outputs.build-args}}'

- name: Upload artifact
uses: actions/upload-artifact@v3
Expand Down Expand Up @@ -230,13 +230,13 @@ jobs:
run: 'flutter pub global activate melos'

- name: Bootstrap packages
run: 'flutter pub run melos bootstrap'
run: 'melos bootstrap'

- name: Generate Localizations
run: 'flutter pub run melos run gen_l10n'
run: 'melos run gen_l10n'

- name: Build
run: 'flutter pub run melos run build:windows -- ${{needs.test.outputs.build-args}}'
run: 'melos run build:windows -- ${{needs.test.outputs.build-args}}'

- name: Upload artifacts
uses: actions/upload-artifact@v3
Expand Down Expand Up @@ -266,13 +266,13 @@ jobs:
run: 'flutter pub global activate melos'

- name: Bootstrap packages
run: 'flutter pub run melos bootstrap'
run: 'melos bootstrap'

- name: Generate Localizations
run: 'flutter pub run melos run gen_l10n'
run: 'melos run gen_l10n'

- name: Build
run: 'flutter pub run melos run build:web -- ${{needs.test.outputs.build-args}}'
run: 'melos run build:web -- ${{needs.test.outputs.build-args}}'

- name: Upload artifact
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 5e52ab2

Please sign in to comment.