This commit is contained in:
parent
abce966b76
commit
91d43f1169
8 changed files with 104 additions and 8 deletions
|
|
@ -1,33 +0,0 @@
|
|||
name: build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
jobs:
|
||||
build:
|
||||
runs-on: nix-latest
|
||||
strategy:
|
||||
matrix:
|
||||
package_name: ["nvim"]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: DeterminateSystems/nix-installer-action@main
|
||||
- name: check
|
||||
run: nix flake check
|
||||
- name: Run `nix bundle`
|
||||
if: github.ref == 'refs/heads/main'
|
||||
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/main'
|
||||
uses: https://data.forgejo.org/forgejo/upload-artifact@v4
|
||||
with:
|
||||
path: "${{ matrix.package_name }}.AppImage"
|
||||
name: "${{ matrix.package_name }}-x86_64-linux.AppImage"
|
||||
Loading…
Add table
Add a link
Reference in a new issue