Skip to content

Commit

Permalink
workflow: modified workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
forkimenjeckayang committed Jun 12, 2024
1 parent 5c4d633 commit 84b05d8
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,9 @@ jobs:
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 }}
uses: actions/create-release@v1
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }} # Optional: Customize the release name
body: "Automatic release for tag ${{ github.ref }}" # Optional: Release description

0 comments on commit 84b05d8

Please sign in to comment.