Skip to content

Commit 1ff7bf5

Browse files
committed
fix: add xlings update before install (index must be cloned first)
1 parent fc91def commit 1ff7bf5

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/actions/setup-toolchain/action.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,16 @@ runs:
2222
"$env:USERPROFILE\.xlings\subos\current\bin" >> $env:GITHUB_PATH
2323
"$env:USERPROFILE\.xlings\bin" >> $env:GITHUB_PATH
2424
25+
- name: Refresh package index
26+
if: runner.os != 'Windows'
27+
shell: bash
28+
run: xlings update
29+
30+
- name: Refresh package index (windows)
31+
if: runner.os == 'Windows'
32+
shell: pwsh
33+
run: xlings update
34+
2535
- name: Install dependencies
2636
if: runner.os != 'Windows'
2737
shell: bash

0 commit comments

Comments
 (0)