2022-05-16 22:01:42 +08:00
|
|
|
name: Add Release to Sentry
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
tags:
|
2023-03-27 23:07:01 +08:00
|
|
|
- '*'
|
2022-05-16 22:01:42 +08:00
|
|
|
|
2022-09-26 00:04:27 +08:00
|
|
|
permissions:
|
|
|
|
contents: read # to fetch code (actions/checkout)
|
|
|
|
|
2022-05-16 22:01:42 +08:00
|
|
|
jobs:
|
|
|
|
sentry_release:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
2024-02-22 23:58:21 +08:00
|
|
|
uses: actions/checkout@v4
|
2022-05-16 22:01:42 +08: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
|
2022-06-02 00:12:29 +08:00
|
|
|
version: osu@${{ github.ref_name }}
|