We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 347e1eb commit c1e8e13Copy full SHA for c1e8e13
.github/workflows/luarocks.yml
@@ -0,0 +1,29 @@
1
+name: Push to Luarocks
2
+on:
3
+ push:
4
+ tags:
5
+ - '*'
6
+ release:
7
+ types:
8
+ - created
9
10
11
+ workflow_dispatch:
12
+ pull_request: # Will test the luarocks installation on PR, without uploading
13
+jobs:
14
+ luarocks-upload:
15
+ runs-on: ubuntu-22.04
16
+ steps:
17
+ - uses: actions/checkout@v3
18
+ with:
19
+ fetch-depth: 0 # Required to count the commits
20
+ - name: Get Version
21
+ run: echo "LUAROCKS_VERSION=$(git describe --abbrev=0 --tags)" >> $GITHUB_ENV
22
+ - name: LuaRocks Upload
23
+ uses: nvim-neorocks/luarocks-tag-release@v5
24
+ env:
25
+ LUAROCKS_API_KEY: ${{ secrets.LUAROCKS_API_KEY }}
26
27
+ version: ${{ env.LUAROCKS_VERSION }}
28
+ dependencies: |
29
+ nvim-web-devicons
0 commit comments