File tree 4 files changed +14
-59
lines changed
4 files changed +14
-59
lines changed Original file line number Diff line number Diff line change 1
1
name : Push to Luarocks
2
2
3
3
on :
4
- workflow_call :
5
- inputs :
6
- luarocks_version :
7
- type : string
8
- required : true
4
+ push :
5
+ tags :
6
+ - ' * '
7
+ pull_request : # Runs test install without uploading
8
+ workflow_dispatch : # Allows to trigger manually
9
9
10
10
jobs :
11
- upload :
11
+ luarocks- upload :
12
12
runs-on : ubuntu-latest
13
13
steps :
14
14
- uses : actions/checkout@v4
15
15
with :
16
- fetch-depth : 0
16
+ fetch-depth : 0 # Required to count the commits
17
+ - name : Get Version
18
+ run : echo "LUAROCKS_VERSION=$(git describe --abbrev=0 --tags)" >> $GITHUB_ENV
17
19
- name : Install C/C++ Compiler
18
20
uses : rlalik/setup-cpp-compiler@master
19
21
with :
36
38
env :
37
39
LUAROCKS_API_KEY : ${{ secrets.LUAROCKS_API_KEY }}
38
40
with :
39
- version : ${{ inputs.luarocks_version }}
41
+ version : ${{ env.LUAROCKS_VERSION }}
40
42
dependencies : |
41
43
tree-sitter-orgmode ~> 1
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
name : tests
2
2
3
3
on :
4
- workflow_call :
4
+ push :
5
+ branches :
6
+ - master
7
+ pull_request :
5
8
6
9
env :
7
10
CI : true
You can’t perform that action at this time.
0 commit comments