File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Luarocks
2+
3+ on :
4+ push :
5+ tags :
6+ - ' *'
7+ release :
8+ types :
9+ - created
10+ pull_request : # Tests packaging on PR
11+ workflow_dispatch :
12+
13+ jobs :
14+ luarocks-upload :
15+ runs-on : ubuntu-22.04
16+ steps :
17+ - uses : actions/checkout@v4
18+ with :
19+ fetch-depth : 0 # Required to get the tags
20+ - name : Get Version
21+ run : echo "LUAROCKS_VERSION=$(git describe --abbrev=0 --tags)" >> $GITHUB_ENV
22+
23+ # Needed to build the tree-sitter parser dependencies
24+ - name : Install C/C++ Compiler
25+ uses : rlalik/setup-cpp-compiler@master
26+ with :
27+ compiler : clang-latest
28+ - name : Install tree-sitter CLI
29+ uses : baptiste0928/cargo-install@v3
30+ with :
31+ crate : tree-sitter-cli
32+
33+ - name : LuaRocks Upload
34+ uses : nvim-neorocks/luarocks-tag-release@v7
35+ env :
36+ LUAROCKS_API_KEY : ${{ secrets.LUAROCKS_API_KEY }}
37+ with :
38+ version : ${{ env.LUAROCKS_VERSION }}
39+ dependencies : |
40+ tree-sitter-regex
41+
Original file line number Diff line number Diff line change 1+ # vim:nospell:
2+ name : Release Please
3+
4+ on :
5+ push :
6+ branches :
7+ - main
8+
9+ permissions :
10+ contents : write
11+ pull-requests : write
12+
13+ jobs :
14+ release-please :
15+ runs-on : ubuntu-latest
16+ steps :
17+ - uses : googleapis/release-please-action@v4
18+ with :
19+ # this assumes that you have created a personal access token
20+ # (PAT) and configured it as a GitHub action secret named
21+ # `MY_RELEASE_PLEASE_TOKEN` (this secret name is not important).
22+ token : ${{ secrets.RELEASE_PLEASE_TOKEN }}
23+ # this is a built-in strategy in release-please, see "Action Inputs"
24+ # for more options
25+
26+ release-type : simple
You can’t perform that action at this time.
0 commit comments