From dc888960b322c7b1785eb250463bf38ab1c29d7a Mon Sep 17 00:00:00 2001 From: osbm Date: Sun, 23 Mar 2025 00:55:47 +0300 Subject: [PATCH] add artifact upload --- .github/workflows/ci.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b03fc6e..639eecd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,11 +30,17 @@ jobs: - name: Print out the size of /nix/store run: du -sh /nix/store - + - name: Get the init.lua path run: | init_path=$(grep "init=" result/bin/nixvim-print-init | awk -F'=' '{print $2}') - cat $init_path + cp $init_path init.lua + + - name: Upload the artifact + uses: actions/upload-artifact@v4 + with: + name: init + path: init.lua check-formatting: runs-on: ubuntu-24.04