Skip to content

Release pipeline

Release pipeline #8

Workflow file for this run

name: Release pipeline
permissions:
contents: write
on:
workflow_dispatch:
inputs:
version:
description: Semantic version. For example 1.0.0
required: true
jobs:
ci-pipeline:
runs-on: ubuntu-22.04
steps:
- name: Checkout main branch
uses: actions/checkout@v3
with:
token: ${{ secrets.RELEASE_TOKEN }}
- name: Release
run: |
git config --global user.email "[email protected]"
git config --global user.name "GitHub Action"
git tag -a v${{ github.event.inputs.version }} -m "next release"
git push --tags