diff --git a/flaky-tests/get-started/ci-providers/github-actions.mdx b/flaky-tests/get-started/ci-providers/github-actions.mdx index 015edba4..818621b5 100644 --- a/flaky-tests/get-started/ci-providers/github-actions.mdx +++ b/flaky-tests/get-started/ci-providers/github-actions.mdx @@ -66,7 +66,7 @@ jobs: - name: Upload Test Results to Trunk.io if: ${{ !cancelled() }} # Upload the results even if the tests fail continue-on-error: true # don't fail this job if the upload fails - uses: trunk-io/analytics-uploader@v1 + uses: trunk-io/analytics-uploader@v2 with: junit-paths: **/junit.xml org-slug: @@ -85,7 +85,7 @@ jobs: - name: Upload Test Results to Trunk.io if: ${{ !cancelled() }} # Upload the results even if the tests fail continue-on-error: true # don't fail this job if the upload fails - uses: trunk-io/analytics-uploader@v1 + uses: trunk-io/analytics-uploader@v2 with: xcresult-path: ./test-results.xcresult org-slug: @@ -104,7 +104,7 @@ jobs: - name: Upload Test Results to Trunk.io if: ${{ !cancelled() }} # Upload the results even if the tests fail continue-on-error: true # don't fail this job if the upload fails - uses: trunk-io/analytics-uploader@v1 + uses: trunk-io/analytics-uploader@v2 with: bazel-bep-path: ./build_events.json org-slug: @@ -156,7 +156,7 @@ Here's an example file. - name: Upload test results if: always() - uses: trunk-io/analytics-uploader@v1 + uses: trunk-io/analytics-uploader@v2 with: junit-paths: org-slug: my-trunk-org-slug @@ -180,7 +180,7 @@ This will override the response code of the test command. Make sure to set `cont uses: actions/checkout@v3 - name: Run tests and upload results - uses: trunk-io/analytics-uploader@v1 + uses: trunk-io/analytics-uploader@v2 with: junit-paths: run: # command to run tests goes here @@ -277,7 +277,7 @@ jobs: - name: Upload test results if: always() - uses: trunk-io/analytics-uploader@v1 + uses: trunk-io/analytics-uploader@v2 with: junit-paths: org-slug: my-trunk-org-slug @@ -318,7 +318,7 @@ jobs: - name: Upload test results if: always() - uses: trunk-io/analytics-uploader@v1 + uses: trunk-io/analytics-uploader@v2 with: junit-paths: junit.xml org-slug: my-trunk-org-slug diff --git a/flaky-tests/get-started/multiple-repositories.mdx b/flaky-tests/get-started/multiple-repositories.mdx index 459ad9bf..dd8a08a0 100644 --- a/flaky-tests/get-started/multiple-repositories.mdx +++ b/flaky-tests/get-started/multiple-repositories.mdx @@ -44,7 +44,7 @@ jobs: - name: Upload Test Results to Trunk.io if: ${{ !cancelled() }} continue-on-error: true - uses: trunk-io/analytics-uploader@v1 + uses: trunk-io/analytics-uploader@v2 with: junit-paths: "**/junit.xml" org-slug: ${{ vars.TRUNK_ORG_SLUG }} diff --git a/flaky-tests/quarantining/index.mdx b/flaky-tests/quarantining/index.mdx index 7ae678ce..dfb87eb8 100644 --- a/flaky-tests/quarantining/index.mdx +++ b/flaky-tests/quarantining/index.mdx @@ -159,7 +159,7 @@ Here's an example file. - name: Upload test results if: always() - uses: trunk-io/analytics-uploader@v1 + uses: trunk-io/analytics-uploader@v2 with: junit-paths: org-slug: my-trunk-org-slug @@ -183,7 +183,7 @@ jobs: uses: actions/checkout@v3 - name: Run tests and upload results - uses: trunk-io/analytics-uploader@v1 + uses: trunk-io/analytics-uploader@v2 with: junit-paths: run: