Skip to content

workflow: modified workflow file #12

workflow: modified workflow file

workflow: modified workflow file #12

Workflow file for this run

name: Create Release
on:
push:
branches:
- main # Trigger on push to the main branch
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install GitHub CLI
uses: google/github-actions@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Create Release
run: |
gh release create "$GITHUB_REF" \
--repo="$GITHUB_REPOSITORY" \
--title="${GITHUB_REPOSITORY#*/} ${GITHUB_REF#v}" \
--generate-notes
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}