Skip to content

Commit c085de5

Browse files
committed
ci(fresh-install): xlings update before install — bundled index snapshot predates latest mcpp
1 parent e59fb25 commit c085de5

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/ci-fresh-install.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ jobs:
4242
4343
- name: Install mcpp and config mirror
4444
run: |
45+
# The release tarball bundles a pkgindex snapshot frozen at
46+
# build time; refresh it so the workspace pin in .xlings.json
47+
# (latest mcpp) resolves.
48+
xlings update
4549
xlings install mcpp -y -g # install to global
4650
mcpp --version
4751
mcpp self config --mirror GLOBAL
@@ -131,6 +135,9 @@ jobs:
131135
132136
- name: Install mcpp and config mirror
133137
run: |
138+
# Refresh the bundled pkgindex snapshot so the workspace pin
139+
# in .xlings.json (latest mcpp) resolves.
140+
xlings update
134141
xlings install mcpp -y -g # install to global
135142
mcpp --version
136143
mcpp self config --mirror GLOBAL
@@ -175,6 +182,9 @@ jobs:
175182
- name: Install mcpp and config mirror
176183
shell: pwsh
177184
run: |
185+
# Refresh the bundled pkgindex snapshot so the workspace pin
186+
# in .xlings.json (latest mcpp) resolves.
187+
xlings update
178188
xlings install mcpp -y -g --verbose
179189
180190
cat "$env:USERPROFILE\.xlings\.xlings.json"

0 commit comments

Comments
 (0)