From 5eb953425185305569cfb619151d0f4df0da6ad6 Mon Sep 17 00:00:00 2001 From: Nelson Osacky Date: Thu, 16 Jul 2026 16:41:47 +0200 Subject: [PATCH] ci: Use non-deprecated sentry-cli snapshots upload command The `sentry-cli build snapshots` command is deprecated in favor of `sentry-cli snapshots upload`. Rename both usages in CI so the upload steps stop emitting deprecation warnings and keep working once the old command is removed. Co-Authored-By: Claude Opus 4.8 --- .github/workflows/build.yml | 2 +- .github/workflows/integration-tests-ui.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e396ef97175..a11da2987dd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -52,7 +52,7 @@ jobs: # Skip on PRs from forks, which don't have access to the upload secret if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository }} run: | - sentry-cli build snapshots ./sentry-android-core/build/test-snapshots \ + sentry-cli snapshots upload ./sentry-android-core/build/test-snapshots \ --app-id sentry-android-core env: SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} diff --git a/.github/workflows/integration-tests-ui.yml b/.github/workflows/integration-tests-ui.yml index ed3a72ce7fc..a1f02d8512d 100644 --- a/.github/workflows/integration-tests-ui.yml +++ b/.github/workflows/integration-tests-ui.yml @@ -86,7 +86,7 @@ jobs: if [ ${#pngs[@]} -gt 0 ]; then mkdir -p replay-snapshots cp "${pngs[@]}" replay-snapshots/ - sentry-cli build snapshots ./replay-snapshots \ + sentry-cli snapshots upload ./replay-snapshots \ --app-id sentry-android-replay else echo "No replay snapshot files found, skipping upload"