File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 36
36
37
37
runs-on : ${{ matrix.os }}
38
38
39
- env :
40
- PATH : /home/runner/vim-${{ matrix.vim.version }}/bin:${{ env.PATH }}
41
-
42
39
steps :
43
40
- uses : actions/checkout@v2
44
41
with :
72
69
git clone https://github.com/junegunn/vader.vim.git
73
70
popd
74
71
72
+ - uses : Pre-pend custom Vim install location to `PATH` environment variable
73
+ if : steps.cache-test-dependencies.outputs.cache-hit == 'true'
74
+ run : |
75
+ echo "$HOME/vim-${{ matrix.vim.version }}/bin:${{ env.PATH }}" >> $GITHUB_ENV
76
+
75
77
- name : Test units
76
78
run : |
77
79
scripts/vader-run-tests.sh --test units --cicd > /dev/null
87
89
# - https://github.com/junegunn/vader.vim/?tab=readme-ov-file#github-actions
88
90
# - https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/store-information-in-variables#default-environment-variables
89
91
# - https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/accessing-contextual-information-about-workflow-runs#matrix-context
92
+ # - https://stackoverflow.com/questions/62716758/how-to-extend-environment-variables-in-github-actions-with-existing-ones
You can’t perform that action at this time.
0 commit comments