Release sentry_jsonish #3
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
# TODO: This one and sentry_jsonnet are almost the same. | |
# A reusable flow would help. | |
name: Release sentry_jsonish | |
on: | |
workflow_dispatch: | |
inputs: | |
version: | |
description: Version to release | |
required: true | |
force: | |
description: Force a release even when there are release-blockers (optional) | |
required: false | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
name: "Release a new version" | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
token: ${{ secrets.GH_RELEASE_PAT }} | |
fetch-depth: 0 | |
- name: Prepare release | |
uses: getsentry/action-prepare-release@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GH_RELEASE_PAT }} | |
with: | |
version: ${{ github.event.inputs.version }} | |
force: ${{ github.event.inputs.force }} | |
path: sentry_jsonish |