File tree 1 file changed +5
-24
lines changed
1 file changed +5
-24
lines changed Original file line number Diff line number Diff line change @@ -16,31 +16,12 @@ jobs:
16
16
build :
17
17
runs-on : ubuntu-latest
18
18
steps :
19
- - uses : actions/checkout@v3
20
- - uses : leafo/gh-actions-lua@v10
21
- - uses : leafo/gh-actions-luarocks@v4
22
- - name : Build
23
- run : |
24
- luarocks pack ./*.rockspec
25
- luarocks build
26
- luarocks pack prompt-style
27
- - uses : actions/upload-artifact@v3
28
- if : " ! startsWith(github.ref, 'refs/tags/')"
19
+ - uses : actions/checkout@v4
20
+ - uses : nvim-neorocks/luarocks-tag-release@v5
21
+ env :
22
+ LUAROCKS_API_KEY : ${{secrets.LUAROCKS_API_KEY}}
29
23
with :
30
- path : |
31
- *.rock
32
- - uses : softprops/action-gh-release@v1
33
- if : startsWith(github.ref, 'refs/tags/')
34
- with :
35
- # body_path: build/CHANGELOG.md
36
- files : |
37
- *.rock
38
- - name : Upload
39
- if : startsWith(github.ref, 'refs/tags/')
40
- run : |
41
- # https://github.com/luarocks/luarocks/issues/559
42
- luarocks install dkjson
43
- luarocks upload ./*.rockspec --api-key ${{secrets.LUAROCKS_API_KEY}}
24
+ name : prompt-style
44
25
45
26
deploy-aur :
46
27
needs : build
You can’t perform that action at this time.
0 commit comments