Skip to content

Create Release

Create Release #2

Workflow file for this run

name: Create Release
on:
workflow_dispatch
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: ${{ github.ref_name }}
release_name: ${{ GITHUB_REF_NAME }}

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

View workflow run for this annotation

GitHub Actions / Create Release

Invalid workflow file

The workflow is not valid. .github/workflows/release.yaml (Line: 21, Col: 23): Unrecognized named-value: 'GITHUB_REF_NAME'. Located at position 1 within expression: GITHUB_REF_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 }}"