Skip to content

Commit

Permalink
use yarn dlx @sentry/cli correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
MayGo committed Nov 13, 2024
1 parent d7f11fb commit 6b80fdb
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,6 @@ jobs:
- name: Install Yarn Berry
run: corepack enable && corepack prepare yarn@stable --activate

- name: Install Sentry CLI
run: yarn dlx @sentry/cli

- name: Get Package Version
id: package_version
shell: bash
Expand All @@ -62,8 +59,8 @@ jobs:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
run: |
sentry-cli releases set-commits "${{ env.PACKAGE_VERSION }}" --commit "${{ github.repository }}@${{ github.sha }}"
sentry-cli releases new "${{ env.PACKAGE_VERSION }}"
yarn dlx @sentry/cli releases set-commits "${{ env.PACKAGE_VERSION }}" --commit "${{ github.repository }}@${{ github.sha }}"
yarn dlx @sentry/cli releases new "${{ env.PACKAGE_VERSION }}"
- name: Install Dependencies (Electron)
run: |
Expand Down

0 comments on commit 6b80fdb

Please sign in to comment.