GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — ci: use bun baseline build to avoid segfaults (#14839) · Krule/opencode@ae19003

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github/actions/setup-bun
    • action.yml
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/actions/setup-bun/action.yml‎

Copy file name to clipboardExpand all lines: .github/actions/setup-bun/action.yml
+16-1Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,25 @@ runs:
1111
restore-keys: |
1212
${{ runner.os }}-bun-
1313
14+
- name: Get baseline download URL
15+
id: bun-url
16+
shell: bash
17+
run: |
18+
if [ "$RUNNER_ARCH" = "X64" ]; then
19+
V=$(node -p "require('./package.json').packageManager.split('@')[1]")
20+
case "$RUNNER_OS" in
21+
macOS) OS=darwin ;;
22+
Linux) OS=linux ;;
23+
Windows) OS=windows ;;
24+
esac
25+
echo "url=https://bun.sh/download/${V}/${OS}/x64?avx2=false&profile=false" >> "$GITHUB_OUTPUT"
26+
fi
27+
1428
- name: Setup Bun
1529
uses: oven-sh/setup-bun@v2
1630
with:
17-
bun-version-file: package.json
31+
bun-version-file: ${{ !steps.bun-url.outputs.url && 'package.json' || '' }}
32+
bun-download-url: ${{ steps.bun-url.outputs.url }}
1833

1934
- name: Install dependencies
2035
run: bun install

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.