update CI for dual config

This commit is contained in:
iofq 2023-05-26 15:06:21 -05:00
parent b2489ca8f0
commit b65b7296e5
2 changed files with 29 additions and 5 deletions

View file

@ -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

View file

@ -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