leptos-use/.github/workflows/github-release.yml
2023-06-13 18:22:04 +01:00

23 lines
496 B
YAML

on:
workflow_dispatch:
name: GitHub Release
permissions: write-all
jobs:
publish:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: CSchoel/release-notes-from-changelog@v1
- name: Create Release using GitHub CLI
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: >
gh release create
-d
-F RELEASE.md
-t "Version $RELEASE_VERSION"
${GITHUB_REF#refs/*/}