Skip to content

Merge pull request #43 from mguyard/beta #43

Merge pull request #43 from mguyard/beta

Merge pull request #43 from mguyard/beta #43

Workflow file for this run

name: Generate Semantic Release
on:
workflow_dispatch:
push:
branches:
- main
- beta
jobs:
release:
name: Release
runs-on: ubuntu-latest
environment:
name: Semver #your environment name
steps:
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Semantic Release
id: semantic
uses: cycjimmy/semantic-release-action@v4
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
- name: Show version
if: steps.semantic.outputs.new_release_published == 'true'
run: |
echo ${{ steps.semantic.outputs.new_release_version }}
echo ${{ steps.semantic.outputs.new_release_major_version }}
echo ${{ steps.semantic.outputs.new_release_minor_version }}
echo ${{ steps.semantic.outputs.new_release_patch_version }}