Skip to content

Create tag & release #48

Create tag & release

Create tag & release #48

name: "Create tag & release"
on:
workflow_dispatch:
inputs:
logLevel:
description: "Log level"
required: true
default: "warning"
type: choice
options:
- info
- warning
- debug
jobs:
tagged-release:
name: "Tagged Release"
runs-on: "ubuntu-latest"
steps:
- uses: actions/[email protected]
- name: Run read-yaml action
id: yaml-data
uses: jbutcher5/read-yaml@main # You may wish to replace main with a version tag such as '1.6' etc.
with:
file: "./config/config.yaml"
key-path: '["version"]' # Access the runs key then the using key and retuns the value.
- name: Bump version and push tag
id: tag_version
uses: mathieudutour/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
custom_tag: ${{ steps.yaml-data.outputs.data }}
default_prerelease_bump: false
tag_prefix: ""
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
automatic_release_tag: ${{ steps.yaml-data.outputs.data }}