Skip to content

Commit 6ce1f76

Browse files
committed
fix(ci): run luarocks CI on new releases too and let us run the CI manually
1 parent 84e81a1 commit 6ce1f76

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/luarocks.yml

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
name: Luarocks release
2+
23
on:
34
push:
5+
release:
6+
types:
7+
- created
48
tags:
59
- "*"
10+
workflow_dispatch:
611

712
jobs:
813
luarocks-release:
@@ -11,7 +16,9 @@ jobs:
1116
steps:
1217
- name: Checkout
1318
uses: actions/checkout@v3
19+
with:
20+
fetch-depth: 0 # Required to count the commits
1421
- name: Luarocks Upload
15-
uses: mrcjkb/luarocks-tag-release@master
22+
uses: mrcjkb/luarocks-tag-release@v5
1623
env:
1724
LUAROCKS_API_KEY: ${{ secrets.LUAROCKS_API_KEY }}

0 commit comments

Comments
 (0)