This repository was archived by the owner on Apr 16, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +60
-0
lines changed Expand file tree Collapse file tree 2 files changed +60
-0
lines changed Original file line number Diff line number Diff line change 1+ name : release
2+
3+ on :
4+ push :
5+ branches : [main]
6+
7+ jobs :
8+ release :
9+ name : Release to GitHub
10+ if : contains(github.event.head_commit.message, 'release:') && github.repository == 'NTBBloodbath/doom-nvim'
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v2
14+ with :
15+ repository : ${{ github.repository }}
16+ path : " workspace"
17+ token : ${{ secrets.GITHUB_TOKEN }}
18+
19+ - name : Setup Release information
20+ run : |
21+ versionName=`sed '12q;d' ./workspace/lua/doom/utils/init.lua | cut -d "\"" -f2 | xargs`
22+ export VERSION_NAME=$versionName
23+ echo "VERSION_NAME=$VERSION_NAME" >> $GITHUB_ENV
24+
25+ - name : Extract release notes
26+ id : extract-release-notes
27+ uses : ffurrer2/extract-release-notes@v1
28+ with :
29+ changelog_file : ./workspace/CHANGELOG.md
30+
31+ - name : Create Release
32+ uses : Xotl/cool-github-releases@v1
33+ with :
34+ mode : update
35+ isDraft : false
36+ isPrerelease : false
37+ tag_name : v${{ env.VERSION_NAME }}
38+ release_name : v${{ env.VERSION_NAME }}
39+ body_mrkdwn : ${{ steps.extract-release-notes.outputs.release_notes }}
40+ github_token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -121,6 +121,26 @@ which nvim
121121nvim --version
122122```
123123
124+ ```
125+ # unpack the binary
126+ tar xzvf nvim-linux64.tar.gz
127+
128+ # create a directory to store the unpacked folder
129+ sudo mkdir /opt/nvim
130+
131+ # move the unpacked binary
132+ sudo mv nvim-linux64 /opt/nvim
133+
134+ # add the neovim executable to somewhere in your path
135+ # ex: /usr/bin OR $HOME/.local/bin
136+ sudo ln -s /opt/nvim/nvim-linux64/bin/nvim /usr/bin/nvim
137+
138+ # should print /usr/bin/nvim
139+ which nvim
140+
141+ # should print NVIM 0.5
142+ nvim --version
143+ ```
124144### External dependencies
125145
126146#### On Linux
You can’t perform that action at this time.
0 commit comments