Skip to content

Fix: type-cast (#193) #34

Fix: type-cast (#193)

Fix: type-cast (#193) #34

Workflow file for this run

name: Release
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
jobs:
release:
name: Release
runs-on: ubuntu-latest
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
steps:
- name: Check out the repo
uses: actions/checkout@v4
- name: Set up environment
run: echo ::set-env name=RELEASE_VERSION::${GITHUB_REF#refs/*/}
- name: Publish GitHub release
uses: "marvinpinto/action-automatic-releases@v1.2.1"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
sentry:
name: Sentry release
runs-on: ubuntu-latest
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
steps:
- name: Check out the repo
uses: actions/checkout@v4
- name: Set up environment
run: echo ::set-env name=RELEASE_VERSION::${GITHUB_REF#refs/*/}
- 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 }}"
SENTRY_URL: "${{ secrets.SENTRY_URL }}"
with:
environment: production
version: "${{ env.RELEASE_VERSION }}"
ignore_empty: true