add CI images to repo
All checks were successful
/ check (push) Successful in 3m27s

This commit is contained in:
iofq 2026-02-28 00:01:58 -06:00
parent abce966b76
commit de53be40c7
11 changed files with 75 additions and 54 deletions

View file

@ -0,0 +1,22 @@
on:
push:
paths:
- 'pkgs/nvim/**'
jobs:
nvim-bundle:
runs-on: nix-upstream-latest
needs: check
if: github.ref == 'refs/heads/main'
steps:
- run: echo "experimental-features = nix-command flakes" >> /etc/nix/nix.conf
- run: nix-env -i nodejs
- uses: actions/checkout@v4
- name: Run `nix bundle`
run: |
path="${{ matrix.package_name }}.AppImage"
nix bundle --bundler github:ralismark/nix-appimage \
-o "$path" \
.#${{ matrix.package_name }}
curl --user "${{ secrets.FJ_USER }}:${{ secrets.FJ_PASS }}" \
--upload-file "$path" \
"${{ forge.api_url }}/packages/${{ secrets.FJ_USER }}/generic/${{ matrix.package_name }}/latest/$path"