File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed
Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -57,22 +57,16 @@ jobs:
5757
5858 build-macos :
5959 runs-on : macos-15
60+ timeout-minutes : 20
6061 steps :
61- - name : Checkout code
62+ - name : Checkout
6263 uses : actions/checkout@v4
6364
6465 - name : Install Xlings
6566 env :
6667 XLINGS_NON_INTERACTIVE : 1
6768 run : |
68- VERSION_NUM="${XLINGS_VERSION#v}"
69- TARBALL="xlings-${VERSION_NUM}-macosx-arm64.tar.gz"
70- curl -fSL -o "$RUNNER_TEMP/$TARBALL" "https://github.com/d2learn/xlings/releases/download/${XLINGS_VERSION}/${TARBALL}"
71- tar -xzf "$RUNNER_TEMP/$TARBALL" -C "$RUNNER_TEMP"
72- EXTRACT_DIR=$(find "$RUNNER_TEMP" -maxdepth 1 -type d -name "xlings-*" | head -1)
73- xattr -dr com.apple.quarantine "$EXTRACT_DIR" 2>/dev/null || true
74- chmod +x "$EXTRACT_DIR/bin/xlings"
75- "$EXTRACT_DIR/bin/xlings" self install
69+ curl -fsSL https://d2learn.org/xlings-install.sh | bash
7670 echo "PATH=$HOME/.xlings/subos/current/bin:$PATH" >> "$GITHUB_ENV"
7771
7872 - name : Install Project Dependencies via Xlings
You can’t perform that action at this time.
0 commit comments