Add 'pkgs/nvim/' from commit 'e5a176d5b7'
git-subtree-dir: pkgs/nvim
git-subtree-mainline: 6fd74fbf0c7a66496ea6f99f85f6045b822f1f4f
git-subtree-split: e5a176d5b7
This commit is contained in:
commit
c544159576
23 changed files with 2085 additions and 0 deletions
26
pkgs/nvim/.github/workflows/inputs.yml
vendored
Normal file
26
pkgs/nvim/.github/workflows/inputs.yml
vendored
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
name: "Update Nix Flake Inputs"
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: "0 10 1,14 * *"
|
||||
jobs:
|
||||
update:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
- name: Install Nix
|
||||
uses: cachix/install-nix-action@v20
|
||||
- name: Update flake inputs
|
||||
id: update
|
||||
uses: DeterminateSystems/update-flake-lock@v19
|
||||
with:
|
||||
pr-title: "chore: update flake.lock"
|
||||
commit-msg: "chore: update flake.lock"
|
||||
pr-reviewers: iofq
|
||||
pr-labels: |
|
||||
dependencies
|
||||
automated
|
||||
auto-merge
|
||||
- name: Print PR number
|
||||
run: echo Pull request number is ${{ steps.update.outputs.pull-request-number }}.
|
||||
37
pkgs/nvim/.github/workflows/main.yml
vendored
Normal file
37
pkgs/nvim/.github/workflows/main.yml
vendored
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
name: build
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [master]
|
||||
types: [opened]
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
package_name: ["nvim-min"]
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: DeterminateSystems/nix-installer-action@main
|
||||
- uses: DeterminateSystems/flakehub-cache-action@main
|
||||
- name: Run `nix bundle`
|
||||
id: build
|
||||
run: |
|
||||
nix bundle \
|
||||
-o ${{ matrix.package_name }}.AppImage \
|
||||
--bundler github:ralismark/nix-appimage \
|
||||
--extra-experimental-features nix-command \
|
||||
--extra-experimental-features flakes .#${{ matrix.package_name }}
|
||||
echo "Done building AppImage for ${{ matrix.package_name }}"
|
||||
- name: Upload bundle to release
|
||||
if: github.ref == 'refs/heads/master'
|
||||
uses: svenstaro/upload-release-action@v2
|
||||
with:
|
||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
file: "${{ matrix.package_name }}.AppImage"
|
||||
asset_name: "${{ matrix.package_name }}-x86_64-linux.AppImage"
|
||||
tag: latest
|
||||
overwrite: true
|
||||
Loading…
Add table
Add a link
Reference in a new issue