diff --git a/.github/workflows/build_and_test_rx_bloc_packages.yaml b/.github/workflows/build_and_test_rx_bloc_packages.yaml index 19731aec7..5a6e85c97 100644 --- a/.github/workflows/build_and_test_rx_bloc_packages.yaml +++ b/.github/workflows/build_and_test_rx_bloc_packages.yaml @@ -58,9 +58,11 @@ jobs: path: "${{ matrix.folder }}/coverage/lcov.info" min_coverage: 50 - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: directory: ${{ matrix.folder }}/coverage + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_SECRET }} flutter_packages: strategy: matrix: @@ -105,9 +107,11 @@ jobs: path: "${{ matrix.folder }}/coverage/lcov.info" min_coverage: 89 - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: directory: ${{ matrix.folder }}/coverage + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_SECRET }} packages: strategy: matrix: @@ -156,9 +160,11 @@ jobs: path: "${{ matrix.folder }}/coverage/lcov.info" min_coverage: 67 - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: directory: ${{ matrix.folder }}/coverage + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_SECRET }} cli_packages: strategy: matrix: @@ -202,9 +208,11 @@ jobs: path: "${{ matrix.folder }}/coverage/lcov.info" min_coverage: 67 - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: directory: ${{ matrix.folder }}/coverage + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_SECRET }} build: needs: [examples, packages, flutter_packages, cli_packages] diff --git a/packages/rx_bloc_cli/mason_templates/bricks/feature_cicd_fastlane/__brick__/{{#cicd_github}}.github{{/cicd_github}}/workflows/run_app_tests.yaml b/packages/rx_bloc_cli/mason_templates/bricks/feature_cicd_fastlane/__brick__/{{#cicd_github}}.github{{/cicd_github}}/workflows/run_app_tests.yaml index 98d9c7dec..bbebd349e 100644 --- a/packages/rx_bloc_cli/mason_templates/bricks/feature_cicd_fastlane/__brick__/{{#cicd_github}}.github{{/cicd_github}}/workflows/run_app_tests.yaml +++ b/packages/rx_bloc_cli/mason_templates/bricks/feature_cicd_fastlane/__brick__/{{#cicd_github}}.github{{/cicd_github}}/workflows/run_app_tests.yaml @@ -47,4 +47,6 @@ jobs: if: ${{ env.UPLOAD_CODE_COVERAGE }} uses: codecov/codecov-action@v4 with: - directory: coverage \ No newline at end of file + directory: coverage + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_SECRET }} \ No newline at end of file