Skip to content

Commit

Permalink
Migrate away from archived release action
Browse files Browse the repository at this point in the history
Updated GitHub release action to softprops/action-gh-release@v2
  • Loading branch information
forntoh committed Oct 10, 2024
1 parent 4a5177d commit 960bbd4
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ on:
description: "Version to update if not incrementing"
required: false

permissions:
contents: write

jobs:
publish:
name: Prepare Release
Expand Down Expand Up @@ -114,14 +117,17 @@ jobs:
- name: Create GitHub Release
if: steps.check_tag.outputs.tag_exists == 'false'
uses: actions/create-release@v1
uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ env.UPDATED_VERSION }}
release_name: LcdMenu v${{ env.UPDATED_VERSION }}
name: LcdMenu v${{ env.UPDATED_VERSION }}
draft: false
prerelease: false
generate_release_notes: false
make_latest: true
token: ${{ secrets.GH_PAT }}
body: ${{ steps.generate_release_notes.outputs.release_notes }}

- name: Update GitHub Release
Expand Down

0 comments on commit 960bbd4

Please sign in to comment.