-
Notifications
You must be signed in to change notification settings - Fork 109
36 lines (35 loc) · 942 Bytes
/
sentry.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Sentry
on:
push:
branches-ignore:
- "translations_**"
- "dependabot/**"
tags:
- 'v*'
jobs:
sentry:
name: Sentry
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: 21
distribution: 'temurin'
cache: gradle
- name: Get version from Gradle
id: get_version
run: echo "RELEASE_VERSION=$(./gradlew version -q)" >> $GITHUB_ENV
- name: Create Sentry release
uses: getsentry/action-release@v1
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
with:
environment: production
version: ${{ env.RELEASE_VERSION }}