osu/.github/workflows/sentry-release.yml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
637 B
YAML
Raw Normal View History

2022-05-16 14:01:42 +00:00
name: Add Release to Sentry
on:
push:
tags:
2023-03-27 15:07:01 +00:00
- '*'
2022-05-16 14:01:42 +00:00
permissions:
contents: read # to fetch code (actions/checkout)
2022-05-16 14:01:42 +00:00
jobs:
sentry_release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
2022-05-16 14:01:42 +00:00
with:
fetch-depth: 0
- name: Create Sentry release
uses: getsentry/action-release@v1
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: ppy
SENTRY_PROJECT: osu
SENTRY_URL: https://sentry.ppy.sh/
with:
environment: production
version: osu@${{ github.ref_name }}