ci: improve download @sentry/cli (#3560)

This commit is contained in:
Alex Yang authored and GitHub committed 2023-08-03 17:26:30 +00:00
1 parent 33cc9d25a1
commit 47ff376195
4 files changed
+19

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
name: Setup @sentry/cli
description: 'Setup @sentry/cli'
runs:
using: 'composite'
steps:
- name: 'Install @sentry/cli from brew'
if: runner.os == 'macos'
shell: bash
run: brew install getsentry/tools/sentry-cli
- name: 'Install @sentry/cli from npm'
if: runner.os != 'macos'
shell: bash
run: sudo npm install -g @sentry/cli --unsafe-perm