Skip to content

Merge pull request #49 from friendsofstrandseq/dev #55

Merge pull request #49 from friendsofstrandseq/dev

Merge pull request #49 from friendsofstrandseq/dev #55

name: "tagged-release"
on:
push:
branches:
- main
# on:
# pull_request:
# types: [closed]
# branches:
# - main
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 }}