File tree Expand file tree Collapse file tree 1 file changed +16
-7
lines changed
Expand file tree Collapse file tree 1 file changed +16
-7
lines changed Original file line number Diff line number Diff line change 1313 --no-tty
1414 --color=false
1515 APPLY_ARGS : >
16- --exclude=' encrypted,externals,scripts'
16+ --exclude=encrypted,externals,scripts
1717 --parent-dirs
1818 --no-tty
1919 --color=false
@@ -36,23 +36,32 @@ jobs:
3636 steps :
3737 - name : Install chezmoi
3838 shell : bash
39- run : bash <(curl -fsLS get.chezmoi.io) -b ${{ env.BIN_PATH }}
39+ run : bash <(curl -fsLS get.chezmoi.io) -b '${{ env.BIN_PATH }}'
40+
41+ - name : Export ${{ env.BIN_PATH }} to GITHUB_PATH
42+ shell : bash
43+ run : echo '${{ env.BIN_PATH }}' >> "$GITHUB_PATH"
44+
4045 - name : Init chezmoi
4146 shell : bash
42- run : ${{ env.BIN_PATH }}/chezmoi init ${{ github.repository_owner }} ${{ env.INIT_ARGS }}
47+ run : chezmoi init ${{ github.repository_owner }} ${{ env.INIT_ARGS }}
48+
4349 - name : Chezmoi apply
4450 shell : bash
45- run : ${{ env.BIN_PATH }}/chezmoi apply ${{ env.APPLY_ARGS }}
51+ run : chezmoi apply ${{ env.APPLY_ARGS }}
52+
4653 - name : Chezmoi doctor
4754 shell : bash
48- run : ${{ env.BIN_PATH }}/chezmoi doctor ${{ env.DOCTOR_ARGS }}
55+ run : chezmoi doctor ${{ env.DOCTOR_ARGS }}
56+
4957 - name : Check all template
58+ working-directory : ${{ env.HOME }}/.local/share/chezmoi
5059 shell : bash
5160 run : |
5261 tmpls=$(find . -type f -name "*.tmpl" ! -name ".chezmoi.toml.tmpl")
5362 for tmpl in "${tmpls[@]}"; do
54- chezmoi execute-template < "$tmpl" &> /dev/null
63+ chezmoi execute-template < "$tmpl" &>/dev/null
5564 if [ $? -ne 0 ]; then
56- echo "$tmpl: Tmpl error" 1>&2
65+ echo "$tmpl: Template error" 1>&2
5766 fi
5867 done
You can’t perform that action at this time.
0 commit comments