Skip to content

update action

update action #5

Workflow file for this run

name: Create Release
on:
workflow_dispatch
inputs:

Check failure on line 5 in .github/workflows/release.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yaml

Invalid workflow file

You have an error in your yaml syntax on line 5
tag-name:
description: 'Tag name'
required: false
jobs:
create_release:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ tag-name }}
release_name: ${{ tag-name }}
draft: false
prerelease: false
generate_release_notes: true
- name: Set outputs for the created release
run: |
echo "::set-output name=release_id::${{ steps.create_release.outputs.id }}"
echo "::set-output name=html_url::${{ steps.create_release.outputs.html_url }}"
echo "::set-output name=upload_url::${{ steps.create_release.outputs.upload_url }}"