feat: v2 of git-worktree #57
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
tags: | |
- "*" | |
pull_request: | |
jobs: | |
luarocks-release: | |
runs-on: ubuntu-latest | |
name: LuaRocks upload | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Fail if changelog entry does not exist | |
if: startsWith(github.ref, 'refs/tags/') | |
run: grep -q "${{ github.ref_name }}" CHANGELOG.md | |
- name: LuaRocks Upload | |
uses: nvim-neorocks/luarocks-tag-release@v7 | |
env: | |
LUAROCKS_API_KEY: ${{ secrets.LUAROCKS_API_KEY }} | |
with: | |
detailed_description: | | |
A plugin that helps to use git worktree operations, create, switch, and delete in neovim. | |
- name: GitHub Release | |
if: startsWith(github.ref, 'refs/tags/') | |
uses: ncipollo/release-action@v1 | |
with: | |
bodyFile: "CHANGELOG.md" | |
allowUpdates: true |