mirror of
https://github.com/anomalyco/opencode.git
synced 2026-04-24 14:55:19 +00:00
ci: map macOS to darwin in bun download URL
This commit is contained in:
6
.github/actions/setup-bun/action.yml
vendored
6
.github/actions/setup-bun/action.yml
vendored
@@ -16,7 +16,11 @@ runs:
|
||||
shell: bash
|
||||
run: |
|
||||
V=$(node -p "require('./package.json').packageManager.split('@')[1]")
|
||||
OS=$(echo "$RUNNER_OS" | tr '[:upper:]' '[:lower:]')
|
||||
case "$RUNNER_OS" in
|
||||
macOS) OS=darwin ;;
|
||||
Linux) OS=linux ;;
|
||||
Windows) OS=windows ;;
|
||||
esac
|
||||
echo "url=https://bun.sh/download/${V}/${OS}/x64?avx2=false&profile=false" >> "$GITHUB_OUTPUT"
|
||||
|
||||
- name: Setup Bun
|
||||
|
||||
Reference in New Issue
Block a user