fix: creator_id can be null apparently #1080
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Sentry Release" | |
on: | |
push: | |
release: | |
types: [published] | |
permissions: write-all | |
jobs: | |
release: | |
name: Sentry Release | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout repository" | |
uses: actions/checkout@v4 | |
- name: Set outputs | |
id: vars | |
run: | | |
echo "version=10.4.2" >> $GITHUB_OUTPUT | |
echo "sha=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT | |
- name: "Create Sentry release" | |
uses: getsentry/[email protected] | |
env: | |
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} | |
SENTRY_ORG: ${{ secrets.SENTRY_ORG }} | |
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }} | |
with: | |
environment: ${{ github.event_name == 'release' && github.event.action == 'published' && 'prod' || 'dev' }} | |
ignore_missing: true | |
version: DisCatSharp@${{ steps.vars.outputs.version }}+${{ steps.vars.outputs.sha }} | |