diff options
| author | Matthieu Coudron <886074+teto@users.noreply.github.com> | 2023-07-30 21:07:18 +0200 |
|---|---|---|
| committer | Christian Clason <c.clason@uni-graz.at> | 2023-08-13 11:26:59 +0200 |
| commit | baed6439e22aa4d1302a0c2acb1eb4a5824b1d23 (patch) | |
| tree | 86292aa04955ad8c4a91268e4f56236587ce39d8 /.github/workflows/release.yml | |
| parent | Update parsers: bash, c, cuda, wing (diff) | |
| download | nvim-treesitter-baed6439e22aa4d1302a0c2acb1eb4a5824b1d23.tar nvim-treesitter-baed6439e22aa4d1302a0c2acb1eb4a5824b1d23.tar.gz nvim-treesitter-baed6439e22aa4d1302a0c2acb1eb4a5824b1d23.tar.bz2 nvim-treesitter-baed6439e22aa4d1302a0c2acb1eb4a5824b1d23.tar.lz nvim-treesitter-baed6439e22aa4d1302a0c2acb1eb4a5824b1d23.tar.xz nvim-treesitter-baed6439e22aa4d1302a0c2acb1eb4a5824b1d23.tar.zst nvim-treesitter-baed6439e22aa4d1302a0c2acb1eb4a5824b1d23.zip | |
ci: fix luarocks tag release process
bumped version of the action
Co-authored-by: Marc Jakobi <mrcjkb89@outlook.com>
Diffstat (limited to '.github/workflows/release.yml')
| -rw-r--r-- | .github/workflows/release.yml | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 03b4d4e35..99e9c6e27 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,17 +1,26 @@ name: "release" on: push: - tags: - - '*' + tags: # Will upload to luarocks.org + - "*" + pull_request: # Will test a local install without uploading to luarocks.org + paths: + - 'contrib/*.rockspec' + - .github/workflows/release.yml + jobs: luarocks-upload: runs-on: ubuntu-latest steps: - - uses: nvim-neorocks/luarocks-tag-release@v2.2.0 + - uses: actions/checkout@v3 + - uses: nvim-neorocks/luarocks-tag-release@v5 env: LUAROCKS_API_KEY: ${{ secrets.LUAROCKS_API_KEY }} with: + name: nvim-treesitter + version: 0.1 + license: apache 2 detailed_description: | The goal of nvim-treesitter is both to provide a simple and easy way to use the interface for tree-sitter in Neovim and to provide some basic functionality such as highlighting based on it. - build_type: "make" + template: contrib/nvim-treesitter-luarocks.template |
