File tree Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ name : " Release"
3
+ on :
4
+ push :
5
+ tags :
6
+ - ' v*.*.*'
7
+
8
+ jobs :
9
+ luarocks-release :
10
+ runs-on : ubuntu-latest
11
+ name : Luarocks Release
12
+ steps :
13
+ - name : Checkout
14
+ uses : actions/checkout@v3
15
+ if : env.LUAROCKS_API_KEY != null
16
+ - name : Luarocks Upload
17
+ uses : nvim-neorocks/luarocks-tag-release@v5
18
+ if : env.LUAROCKS_API_KEY != null
19
+ env :
20
+ LUAROCKS_API_KEY : ${{ secrets.LUAROCKS_API_KEY }}
Original file line number Diff line number Diff line change @@ -6,6 +6,9 @@ The intention is that you use this template to create a new repository where you
6
6
The template includes the following:
7
7
8
8
- GitHub workflows to run linters and tests
9
+ - Packaging of tagged releases and upload to [ LuaRocks] ( https://luarocks.org/ )
10
+ if a [ ` LUAROCKS_API_KEY ` ] ( https://luarocks.org/settings/api-keys ) is added
11
+ to the [ GitHub Actions secrets] ( https://docs.github.com/en/actions/security-guides/encrypted-secrets#creating-encrypted-secrets-for-a-repository )
9
12
- Minimal test setup
10
13
- EditorConfig
11
14
- A .luacheckrc
You can’t perform that action at this time.
0 commit comments