Fixing small indexing errors in plot-sv-calls_dev #34
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Create tag & release" | |
# on: | |
# push: | |
# branches: | |
# - master | |
on: | |
pull_request: | |
types: [closed] | |
branches: | |
- master | |
jobs: | |
tagged-release: | |
name: "Tagged Release" | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: actions/checkout@v3.2.0 | |
- 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/github-tag-action@v6.1 | |
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 }} |