File tree Expand file tree Collapse file tree 4 files changed +14
-59
lines changed Expand file tree Collapse file tree 4 files changed +14
-59
lines changed Original file line number Diff line number Diff line change 11name : Push to Luarocks
22
33on :
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
99
1010jobs :
11- upload :
11+ luarocks- upload :
1212 runs-on : ubuntu-latest
1313 steps :
1414 - uses : actions/checkout@v4
1515 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
1719 - name : Install C/C++ Compiler
1820 uses : rlalik/setup-cpp-compiler@master
1921 with :
3638 env :
3739 LUAROCKS_API_KEY : ${{ secrets.LUAROCKS_API_KEY }}
3840 with :
39- version : ${{ inputs.luarocks_version }}
41+ version : ${{ env.LUAROCKS_VERSION }}
4042 dependencies : |
4143 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 11name : tests
22
33on :
4- workflow_call :
4+ push :
5+ branches :
6+ - master
7+ pull_request :
58
69env :
710 CI : true
You can’t perform that action at this time.
0 commit comments