mirror of
https://github.com/iofq/nvim.nix.git
synced 2026-01-23 08:55:16 -06:00
update CI for dual config
This commit is contained in:
parent
b2489ca8f0
commit
b65b7296e5
2 changed files with 29 additions and 5 deletions
17
.github/workflows/main.yml
vendored
17
.github/workflows/main.yml
vendored
|
|
@ -31,6 +31,14 @@ jobs:
|
|||
with:
|
||||
image: ghcr.io/iofq/nvim:latest
|
||||
path: /app/neovim-x86_64-linux.AppImage
|
||||
|
||||
-
|
||||
name: Extract .tar.gz from container
|
||||
uses: shrink/actions-docker-extract@v1
|
||||
id: extract-minimal
|
||||
with:
|
||||
image: ghcr.io/iofq/nvim:latest
|
||||
path: /app/neovim-x86_64-linux-minimal.AppImage
|
||||
-
|
||||
name: Upload archive to release
|
||||
uses: xresloader/upload-to-github-release@v1
|
||||
|
|
@ -40,3 +48,12 @@ jobs:
|
|||
file: ${{ steps.extract.outputs.destination }}
|
||||
update_latest_release: true
|
||||
overwrite: true
|
||||
-
|
||||
name: Upload archive to release
|
||||
uses: xresloader/upload-to-github-release@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
file: ${{ steps.extract-minimal.outputs.destination }}
|
||||
update_latest_release: true
|
||||
overwrite: true
|
||||
|
|
|
|||
11
Dockerfile
11
Dockerfile
|
|
@ -6,6 +6,13 @@ COPY . .
|
|||
RUN nix bundle \
|
||||
--bundler github:ralismark/nix-appimage \
|
||||
--extra-experimental-features nix-command \
|
||||
--extra-experimental-features flakes . && \
|
||||
cp -L nvim-x86_64.AppImage neovim-x86_64-linux.AppImage && \
|
||||
--extra-experimental-features flakes .#full && \
|
||||
mv $(realpath nvim-x86_64.AppImage) neovim-x86_64-linux.AppImage && \
|
||||
nix-collect-garbage
|
||||
|
||||
RUN nix bundle \
|
||||
--bundler github:ralismark/nix-appimage \
|
||||
--extra-experimental-features nix-command \
|
||||
--extra-experimental-features flakes .#minimal && \
|
||||
mv $(realpath nvim-x86_64.AppImage) neovim-x86_64-linux-minimal.AppImage && \
|
||||
nix-collect-garbage
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue