Skip to content

Release

Release #31

Workflow file for this run

name: Release
on:
workflow_dispatch:
inputs:
release:
description: Release
required: true
default: patch
type: choice
options:
- patch
- minor
- major
jobs:
release:
name: Release
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Release | Checkout
uses: actions/checkout@v3
- name: Release | Tag
id: tag
uses: zwaldowski/semver-release-action@v3
with:
bump: ${{ github.event.inputs.release }}
github_token: ${{ secrets.GITHUB_TOKEN }}
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
- name: Release
uses: ncipollo/release-action@v1
with:
tag: ${{ steps.tag.outputs.version }}
token: ${{ secrets.CREATE_RELEASE_TOKEN }}