Skip to content

Commit

Permalink
feat(actions): add .local/state and .cache directories to build
Browse files Browse the repository at this point in the history
  • Loading branch information
roeybenarieh committed Dec 26, 2023
1 parent 9e0263e commit db8dbf3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build_nvim_artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:
env:
CONF_PATH: /home/runner/.config/nvim
LOCAL_DATA_PATH: /home/runner/.local/share/nvim
LOCAL_STATE_PATH: /home/runner/.local/state/nvim
LOCAL_CACHE_PATH: /home/runner/.cache/nvim

steps:
# this checkout moves repo to the $GITHUB_WORKSPACE directory
Expand All @@ -35,7 +37,7 @@ jobs:
run: nvim --headless -c "Lazy install" -c "qall"

- name: compress nvim generated folders
run: tar -czf build.tar.gz -C $HOME_PATH $CONF_PATH $LOCAL_DATA_PATH
run: tar -czf build.tar.gz -C $HOME_PATH $CONF_PATH $LOCAL_DATA_PATH $LOCAL_STATE_PATH $LOCAL_CACHE_PATH

- name: artifact nvim generated folders
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit db8dbf3

Please sign in to comment.