-
-
Notifications
You must be signed in to change notification settings - Fork 84
28 lines (28 loc) · 695 Bytes
/
release.yml
File metadata and controls
28 lines (28 loc) · 695 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: "release"
on:
push:
tags:
- 'v*'
branches:
- master
pull_request:
jobs:
test:
name: Run tests
uses: ./.github/workflows/ci.yml
luarocks-upload:
needs: test
runs-on: ubuntu-22.04
if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v')
steps:
- uses: actions/checkout@v3
- name: LuaRocks Upload
uses: nvim-neorocks/luarocks-tag-release@v5
env:
LUAROCKS_API_KEY: ${{ secrets.LUAROCKS_API_KEY }}
with:
detailed_description: |
Find the enemy and replace them with dark power
dependencies: |
plenary.nvim
license: "mit"