Skip to content

Commit

Permalink
Add inject example to README
Browse files Browse the repository at this point in the history
  • Loading branch information
andreiborza committed Jan 14, 2025
1 parent e617c21 commit b8fc6e5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,13 +100,14 @@ Adding the following to your workflow will create a new Sentry release and tell

### Examples

- Create a new Sentry release for the `production` environment and upload JavaScript source maps from the `./lib` directory.
- Create a new Sentry release for the `production` environment, inject Debug IDs into JavaScript source files and sourcemaps and upload them from the `./dist` directory.

```yaml
- uses: getsentry/action-release@v1
with:
environment: 'production'
sourcemaps: './lib'
inject: true
sourcemaps: './dist'
```

- Create a new Sentry release for the `production` environment of your project at version `v1.0.1`.
Expand Down

0 comments on commit b8fc6e5

Please # to comment.