Skip to content

Commit 1d08f93

Browse files
committed
ci: change order of job steps, ensure ~/.vmodules/ exists before symlinking
1 parent a857cbf commit 1d08f93

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,20 @@ jobs:
1212
repository: vlang/v
1313
path: v
1414

15-
- name: Checkout msgpack
16-
uses: actions/checkout@v2
17-
with:
18-
path: /home/runner/work/msgpack/msgpack/repo
19-
20-
- name: Symlink msgpack
21-
run: ln -s /home/runner/work/msgpack/msgpack/repo ~/.vmodules/msgpack
22-
2315
- name: Build V
2416
run: cd v && make && sudo ./v symlink && cd -
2517

2618
- name: V doctor
2719
run: v doctor
2820

21+
- name: Checkout msgpack
22+
uses: actions/checkout@v2
23+
with:
24+
path: repo
25+
26+
- name: Symlink msgpack
27+
run: mkdir -p ~/.vmodules/ ; ln -s $(realpath repo) ~/.vmodules/msgpack
28+
2929
- name: Ensure everything is formatted
3030
run: v fmt -verify ~/.vmodules/msgpack/
3131

0 commit comments

Comments
 (0)