Closed jbergstroem closed 7 months ago
The action fails to upload sourcemaps (but exits successfully - perhaps expose --strict?) in the rewrite step.
--strict
Using github runners on ubuntu-latest with the v1 tag
name: Create Sentry Release on: push: branches: - main create_sentry_release: runs-on: ubuntu-22.04 steps: - name: Checkout uses: actions/checkout@v4 with: fetch-depth: 0 - uses: oven-sh/setup-bun@v1 - name: Install dependencies run: bun install - name: Generate sourcemap run: bun run build - name: Create Sentry Release and upload sourcemap uses: getsentry/action-release@v1 env: SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} SENTRY_ORG: ${{ vars.SENTRY_ORG }} SENTRY_PROJECT: ${{ vars.SENTRY_PROJECT }} with: environment: production sourcemaps: ./dist
The rewrite step should work.
Thinking this bug rather belongs to the sentry-cli repo. It seems to be related to parsing sourcemaps from bun.
Github Sentry Action Release Bug Report
The action fails to upload sourcemaps (but exits successfully - perhaps expose
--strict
?) in the rewrite step.Environment
Using github runners on ubuntu-latest with the v1 tag
Steps to Reproduce
Actual Result
The rewrite step should work.