File tree 3 files changed +46
-3
lines changed
3 files changed +46
-3
lines changed Original file line number Diff line number Diff line change 7
7
runs-on : ubuntu-latest
8
8
steps :
9
9
- uses : actions/checkout@v4
10
+ with :
11
+ token : ${{ secrets.GITHUB_TOKEN }}
10
12
- name : Stylua
11
13
uses : JohnnyMorganz/stylua-action@v4
12
14
with :
13
- token : ${{ secrets.GH_VIMDOC_TOKEN }}
15
+ token : ${{ secrets.GITHUB_TOKEN }}
14
16
version : latest
15
17
args : --check .
16
18
21
23
steps :
22
24
- uses : actions/checkout@v4
23
25
with :
24
- token : ${{ secrets.GH_VIMDOC_TOKEN }}
26
+ token : ${{ secrets.GITHUB_TOKEN }}
25
27
- name : panvimdoc
26
28
uses : kdheepak/panvimdoc@main
27
29
with :
41
43
contents : write
42
44
steps :
43
45
- uses : actions/checkout@v4
46
+ with :
47
+ token : ${{ secrets.GITHUB_TOKEN }}
44
48
- uses : rhysd/action-setup-vim@v1
45
49
id : vim
46
50
with :
50
54
- name : luajit
51
55
uses : leafo/gh-actions-lua@v10
52
56
with :
53
- luaVersion : " luajit-2.1.0-beta3 "
57
+ luaVersion : " luajit-openresty "
54
58
55
59
- name : luarocks
56
60
uses : leafo/gh-actions-luarocks@v4
Original file line number Diff line number Diff line change
1
+ name : Release
2
+ on :
3
+ push :
4
+ branches :
5
+ - release
6
+ pull_request :
7
+ branches :
8
+ - main
9
+ - release
10
+
11
+ permissions :
12
+ contents : write
13
+ pull-requests : write
14
+
15
+ jobs :
16
+ release :
17
+ name : release
18
+ runs-on : ubuntu-latest
19
+ steps :
20
+ - uses : google-github-actions/release-please-action@v4
21
+ id : release
22
+ with :
23
+ release-type : simple
24
+ package-name : quick-code-runner.nvim
25
+ token : ${{ secrets.GITHUB_TOKEN }}
26
+ - uses : actions/checkout@v4
27
+ with :
28
+ token : ${{ secrets.GITHUB_TOKEN }}
29
+ - name : tag stable versions
30
+ if : ${{ steps.release.outputs.release_created }}
31
+ run : |
32
+ git config user.name github-actions[bot]
33
+ git config user.email github-actions[bot]@users.noreply.github.com
34
+ git remote add gh-token "https://${{ secrets.GITHUB_TOKEN }}@github.com/google-github-actions/release-please-action.git"
35
+ git tag -d stable || true
36
+ git push origin :stable || true
37
+ git tag -a stable -m "Last Stable Release"
38
+ git push origin stable
Original file line number Diff line number Diff line change
1
+ 0.1.0
You can’t perform that action at this time.
0 commit comments