Skip to content

Commit

Permalink
feat: please-release ci
Browse files Browse the repository at this point in the history
  • Loading branch information
linrongbin16 committed Oct 9, 2023
1 parent b88d64e commit 84ec004
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,24 @@ jobs:
uses: lunarmodules/luacheck@v1
with:
args: lua --config .luacheckrc
release:
name: Release
if: ${{ github.ref == 'refs/heads/main' }}
needs:
- typecheck
- luacheck
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
id: release
with:
release-type: simple
package-name: fzfx.nvim
- uses: actions/checkout@v4
- uses: rickstaa/action-create-tag@v1
if: ${{ steps.release.outputs.release_created }}
with:
tag: stable
message: "Current stable release: ${{ steps.release.outputs.tag_name }}"
tag_exists_error: false
force_push_tag: true

0 comments on commit 84ec004

Please sign in to comment.