Skip to content

Commit 5eb9534

Browse files
runningcodeclaude
andcommitted
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 <noreply@anthropic.com>
1 parent b456a78 commit 5eb9534

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
# Skip on PRs from forks, which don't have access to the upload secret
5353
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository }}
5454
run: |
55-
sentry-cli build snapshots ./sentry-android-core/build/test-snapshots \
55+
sentry-cli snapshots upload ./sentry-android-core/build/test-snapshots \
5656
--app-id sentry-android-core
5757
env:
5858
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}

.github/workflows/integration-tests-ui.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686
if [ ${#pngs[@]} -gt 0 ]; then
8787
mkdir -p replay-snapshots
8888
cp "${pngs[@]}" replay-snapshots/
89-
sentry-cli build snapshots ./replay-snapshots \
89+
sentry-cli snapshots upload ./replay-snapshots \
9090
--app-id sentry-android-replay
9191
else
9292
echo "No replay snapshot files found, skipping upload"

0 commit comments

Comments
 (0)