forked from neo451/jieba.nvim
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (38 loc) · 996 Bytes
/
main.yml
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
29
30
31
32
33
34
35
36
37
38
39
---
"on":
push:
paths-ignore:
- "**.md"
- doc/*
pull_request:
paths-ignore:
- "**.md"
- doc/*
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo add-apt-repository ppa:xmake-io/xmake
sudo apt-get -y update
sudo apt-get -y install xmake
- uses: nvim-neorocks/luarocks-tag-release@v5
env:
LUAROCKS_API_KEY: ${{secrets.LUAROCKS_API_KEY}}
if: "! startsWith(github.ref, 'refs/tags/')"
with:
extra_luarocks_args: |
--force
version: scm
template: template.rockspec
- uses: nvim-neorocks/luarocks-tag-release@v5
env:
LUAROCKS_API_KEY: ${{secrets.LUAROCKS_API_KEY}}
if: startsWith(github.ref, 'refs/tags/')
with:
extra_luarocks_args: |
--force
template: template.rockspec