3/20
This commit is contained in:
parent
817aa75f84
commit
c9e64ce287
25 changed files with 535 additions and 276 deletions
|
|
@ -2,21 +2,26 @@ on:
|
|||
push:
|
||||
paths:
|
||||
- 'pkgs/nvim/**'
|
||||
- 'flake.lock'
|
||||
- '.forgejo/workflows/**'
|
||||
jobs:
|
||||
nvim-bundle:
|
||||
runs-on: nix-upstream-latest
|
||||
if: github.ref == 'refs/heads/main'
|
||||
strategy:
|
||||
matrix:
|
||||
package_name: ["nvim"]
|
||||
package_name: ["nvim-min"]
|
||||
container:
|
||||
volumes:
|
||||
- /nix/var/nix/daemon-socket:/nix-host
|
||||
steps:
|
||||
- run: echo "experimental-features = nix-command flakes" >> /etc/nix/nix.conf
|
||||
- run: nix-env -i nodejs
|
||||
- run: nix-env -i nodejs curl
|
||||
- uses: actions/checkout@v4
|
||||
- name: Run `nix bundle`
|
||||
run: |
|
||||
path="${{ matrix.package_name }}.AppImage"
|
||||
nix bundle --bundler github:ralismark/nix-appimage \
|
||||
nix bundle --store unix:///nix-host/socket --bundler github:ralismark/nix-appimage \
|
||||
-o "$path" \
|
||||
.#${{ matrix.package_name }}
|
||||
curl --user "${{ secrets.FJ_USER }}:${{ secrets.FJ_PASS }}" \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue