nix/.forgejo/workflows/nvim-bundle.yml
iofq a2cb2e03a4
Some checks are pending
/ nvim-bundle (push) Blocked by required conditions
/ check (push) Successful in 3m45s
add CI images to repo
2026-03-01 02:24:00 -06:00

23 lines
776 B
YAML

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"