push-to-luarocks #8
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: push-to-luarocks | |
on: | |
push: | |
tags: | |
- '*' | |
release: | |
types: | |
- created # Triggered by release-please | |
pull_request: # Tests a local luarocks install without publishing on PRs | |
workflow_dispatch: # Allow manual trigger | |
jobs: | |
luarocks-upload: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # Required to count the commits | |
- name: get version | |
# Tags created by GitHub releases don't trigger push: tags workflows | |
# So we have to determine the tag manually. | |
run: echo "LUAROCKS_VERSION=$(git describe --abbrev=0 --tags)" >> $GITHUB_ENV | |
- name: luarocks upload | |
uses: nvim-neorocks/luarocks-tag-release@v5 | |
env: | |
LUAROCKS_API_KEY: ${{ secrets.LUAROCKS_API_KEY }} | |
with: | |
version: ${{ env.LUAROCKS_VERSION }} | |
detailed_description: | | |
`deadcolumn.nvim` assists you to maintain a specific column width | |
in your code by gradually displaying the colorcolumn as you | |
approaches it. |