Skip to content

Commit 71efa59

Browse files
committed
fix(ci): use stable xlings installer URLs
1 parent d2f3131 commit 71efa59

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,13 @@ jobs:
1616
env:
1717
XLINGS_NON_INTERACTIVE: 1
1818
run: |
19-
curl -fsSL https://raw.githubusercontent.com/d2learn/xlings/main/tools/other/quick_install.sh | bash
19+
curl -fsSL https://raw.githubusercontent.com/d2learn/xlings/refs/heads/main/tools/other/quick_install.sh | bash
2020
echo "XLINGS_HOME=$HOME/.xlings" >> "$GITHUB_ENV"
2121
echo "$HOME/.xlings/subos/current/bin" >> "$GITHUB_PATH"
2222
2323
- name: Install dependencies
2424
run: xlings install
2525

26-
- name: Configure xmake
27-
run: xmake f --toolchain=llvm --sdk="$HOME/.xlings/data/xpkgs/xim-x-llvm/20.0.7" -y -vvD
28-
2926
- name: Build
3027
run: xmake build -a -y -vvD
3128

@@ -48,13 +45,16 @@ jobs:
4845
env:
4946
XLINGS_NON_INTERACTIVE: 1
5047
run: |
51-
curl -fsSL https://raw.githubusercontent.com/d2learn/xlings/main/tools/other/quick_install.sh | bash
48+
curl -fsSL https://raw.githubusercontent.com/d2learn/xlings/refs/heads/main/tools/other/quick_install.sh | bash
5249
echo "XLINGS_HOME=$HOME/.xlings" >> "$GITHUB_ENV"
5350
echo "$HOME/.xlings/subos/current/bin" >> "$GITHUB_PATH"
5451
5552
- name: Install dependencies
5653
run: xlings install
5754

55+
- name: Configure xmake
56+
run: xmake f --toolchain=llvm --sdk="$HOME/.xlings/data/xpkgs/xim-x-llvm/20.0.7" -y -vvD
57+
5858
- name: Build
5959
run: xmake build -a -y -vvD
6060

@@ -78,7 +78,7 @@ jobs:
7878
XLINGS_NON_INTERACTIVE: "1"
7979
shell: pwsh
8080
run: |
81-
irm https://raw.githubusercontent.com/d2learn/xlings/main/tools/other/quick_install.ps1 | iex
81+
irm https://raw.githubusercontent.com/d2learn/xlings/refs/heads/main/tools/other/quick_install.ps1 | iex
8282
echo "XLINGS_HOME=$env:USERPROFILE\.xlings" >> $env:GITHUB_ENV
8383
echo "$env:USERPROFILE\.xlings\subos\current\bin" >> $env:GITHUB_PATH
8484

0 commit comments

Comments
 (0)