diff --git a/.github/workflows/package_deploy.yml b/.github/workflows/package_deploy.yml index 3cfcc92..2f5a820 100644 --- a/.github/workflows/package_deploy.yml +++ b/.github/workflows/package_deploy.yml @@ -12,10 +12,10 @@ jobs: channel: stable - name: Install dependencies run: flutter pub get - + - name: Running Flutter analysis on package code run: flutter analyze --no-fatal-infos --no-fatal-warnings --write=analysis_report.txt - + - name: Artifact analysis report uses: actions/upload-artifact@v4 if: always() @@ -32,10 +32,10 @@ jobs: uses: subosito/flutter-action@v2 with: channel: stable - + - name: Install dependencies run: flutter pub get - + - name: Run unit tests run: flutter test upload-package: @@ -49,19 +49,7 @@ jobs: channel: stable - name: Install dependencies run: flutter pub get - - - name: Running Flutter analysis on package code - run: flutter analyze --no-fatal-infos --no-fatal-warnings --write=analysis_report.txt - - - name: Artifact analysis report - uses: actions/upload-artifact@v4 - if: always() - with: - name: analysis-report - path: | - analysis_report.txt - retention-days: 15 - + - name: Check Publish Warnings run: dart pub publish --dry-run @@ -69,4 +57,4 @@ jobs: uses: k-paxian/dart-package-publisher@master with: credentialJson: ${{ secrets.CREDENTIAL_JSON }} - flutter: true \ No newline at end of file + flutter: true