Skip to content

Commit 646faf4

Browse files
committed
fix(ci): use correct xlings macOS tarball name (macosx-arm64)
xlings releases use "macosx-arm64" naming, not "macos-arm64" or "darwin-arm64".
1 parent f43ea49 commit 646faf4

1 file changed

Lines changed: 3 additions & 8 deletions

File tree

.github/workflows/ci-macos.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,10 @@ jobs:
5858
XLINGS_VERSION: '0.4.30'
5959
run: |
6060
# Download and install xlings for macOS ARM64
61-
tarball="xlings-${XLINGS_VERSION}-macos-arm64.tar.gz"
61+
# xlings release uses "macosx-arm64" naming convention
62+
tarball="xlings-${XLINGS_VERSION}-macosx-arm64.tar.gz"
6263
curl -fsSL -o "/tmp/${tarball}" \
63-
"https://github.com/d2learn/xlings/releases/download/v${XLINGS_VERSION}/${tarball}" || {
64-
echo "::warning::xlings macOS ARM64 tarball not available at v${XLINGS_VERSION}"
65-
echo "Trying alternative naming convention..."
66-
tarball="xlings-${XLINGS_VERSION}-darwin-arm64.tar.gz"
67-
curl -fsSL -o "/tmp/${tarball}" \
68-
"https://github.com/d2learn/xlings/releases/download/v${XLINGS_VERSION}/${tarball}"
69-
}
64+
"https://github.com/d2learn/xlings/releases/download/v${XLINGS_VERSION}/${tarball}"
7065
tar -xzf "/tmp/${tarball}" -C /tmp
7166
# Find the extracted directory
7267
XLINGS_DIR=$(find /tmp -maxdepth 1 -name "xlings-*" -type d | head -1)

0 commit comments

Comments
 (0)