Create Release #2
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 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 GitHub Actions / Create ReleaseInvalid workflow file
|
||
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 }}" |