Skip to content

Commit 8f2919e

Browse files
committed
ci(test-install): fix chezmoi init i guess
1 parent 13c51b1 commit 8f2919e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/test-install.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
branches:
66
- main
77

8+
env:
9+
BIN_PATH: ${{ github.workspace }}/bin
10+
INIT_ARGS: --depth 1 --exclude=encrypted --exclude=externals --exclude=scripts --promptDefaults
11+
812
jobs:
913
test:
1014
strategy:
@@ -19,6 +23,6 @@ jobs:
1923
steps:
2024
- name: Install chezmoi
2125
shell: bash
22-
run: bash <(curl -fsLS get.chezmoi.io)
26+
run: bash <(curl -fsLS get.chezmoi.io) -b ${{ env.BIN_PATH }}
2327
- name: Init chezmoi
24-
run: chezmoi init ${{ github.repository_owner }} --depth 1 --exclude=encrypted --exclude=externals --exclude=scripts --promptDefaults
28+
run: ${{ env.BIN_PATH }}/chezmoi init ${{ github.repository_owner }} ${{ env.INIT_ARGS }}

0 commit comments

Comments
 (0)