Skip to content

Merge pull request #19 from cumc/add_tag_workflow #4

Merge pull request #19 from cumc/add_tag_workflow

Merge pull request #19 from cumc/add_tag_workflow #4

Workflow file for this run

name: Upload new release
on:
workflow_dispatch:
inputs:
tag:
description: Version to use for release tag
required: true
commit:
description: Commit to use for tag
required: false
default: ${{ GITHUB_SHA }}
jobs:

Check failure on line 14 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

You have an error in your yaml syntax on line 14
release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v2
- name: Create new tag
id: tag_version
uses: mathieudutour/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
custom_tag: ${{ github.events.input.tag }}
commit_sha: ${{ github.events.input.commit }}
- name: Create a GitHub release
uses: ncipollo/release-action@v1
with:
tag: ${{ steps.tag_version.outputs.new_tag }}
name: Release ${{ steps.tag_version.outputs.new_tag }}
body: ${{ steps.tag_version.outputs.changelog }}