Skip to content

Commit b6c7f59

Browse files
authored
perf(ci): upload luarocks (#77)
1 parent 8ab8f75 commit b6c7f59

File tree

3 files changed

+33
-2
lines changed

3 files changed

+33
-2
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
branches:
88
- main
99
concurrency:
10-
group: ${{ github.ref }}/ci
10+
group: ${{ github.ref }}-ci
1111
cancel-in-progress: true
1212
jobs:
1313
pr_conventional_commit:
@@ -102,10 +102,15 @@ jobs:
102102
- luacheck
103103
- unit_test
104104
runs-on: ubuntu-latest
105+
permissions:
106+
contents: write
107+
pull-requests: write
108+
repository-projects: write
105109
steps:
106110
- uses: google-github-actions/release-please-action@v3
107111
id: release
108112
with:
113+
token: ${{ secrets.PERSONAL_RELEASE_TOKEN }}
109114
release-type: simple
110115
package-name: colorbox.nvim
111116
- uses: actions/checkout@v4

.github/workflows/collect.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33
schedule:
44
- cron: "53 0 * * 1"
55
concurrency:
6-
group: ${{ github.ref }}/collect
6+
group: ${{ github.ref }}-collect
77
cancel-in-progress: true
88
jobs:
99
pipeline:

.github/workflows/luarocks.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: LuaRocks
2+
on:
3+
push:
4+
tags:
5+
- "*"
6+
pull_request:
7+
branches:
8+
- main
9+
concurrency:
10+
group: ${{ github.ref }}-luarocks
11+
cancel-in-progress: true
12+
jobs:
13+
luarocks-release:
14+
runs-on: ubuntu-latest
15+
name: LuaRocks upload
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v4
19+
- name: LuaRocks Upload
20+
uses: nvim-neorocks/luarocks-tag-release@v5
21+
env:
22+
LUAROCKS_API_KEY: ${{ secrets.LUAROCKS_API_KEY }}
23+
with:
24+
summary: "Load all the ultra colorschemes into your Neovim player!"
25+
labels: |
26+
neovim

0 commit comments

Comments
 (0)