Skip to content

Commit 66e4276

Browse files
authored
Undo Windows Bun baseline target (#692)
1 parent 121c068 commit 66e4276

5 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/actions/setup-bun-compile-runtime/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: 'Download and cache a Bun runtime used by bun build --compile-execu
33

44
inputs:
55
target:
6-
description: 'Bun compile target, for example bun-windows-x64-baseline'
6+
description: 'Bun compile target, for example bun-windows-x64'
77
required: true
88

99
runs:

.github/workflows/cli-release-build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -315,18 +315,18 @@ jobs:
315315
echo "$ENV_OVERRIDES" | jq -r 'to_entries | .[] | .key + "=" + .value' >> $GITHUB_ENV
316316
fi
317317
318-
- name: Prepare Windows baseline Bun compile runtime
318+
- name: Prepare Windows Bun compile runtime
319319
uses: ./.github/actions/setup-bun-compile-runtime
320320
with:
321-
target: bun-windows-x64-baseline
321+
target: bun-windows-x64
322322

323323
- name: Build binary
324324
run: bun run scripts/build-binary.ts ${{ inputs.binary-name }} ${{ inputs.new-version }}
325325
working-directory: cli
326326
shell: bash
327327
env:
328328
VERBOSE: true
329-
OVERRIDE_TARGET: bun-windows-x64-baseline
329+
OVERRIDE_TARGET: bun-windows-x64
330330
OVERRIDE_PLATFORM: win32
331331
OVERRIDE_ARCH: x64
332332

.github/workflows/freebuff-e2e.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,10 +162,10 @@ jobs:
162162
echo "NEXT_PUBLIC_CB_ENVIRONMENT=prod" >> $GITHUB_ENV
163163
echo "CODEBUFF_GITHUB_ACTIONS=true" >> $GITHUB_ENV
164164
165-
- name: Prepare Windows baseline Bun compile runtime
165+
- name: Prepare Windows Bun compile runtime
166166
uses: ./.github/actions/setup-bun-compile-runtime
167167
with:
168-
target: bun-windows-x64-baseline
168+
target: bun-windows-x64
169169

170170
- name: Build Freebuff binary
171171
run: bun freebuff/cli/build.ts 0.0.0-e2e

.github/workflows/npm-app-release-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
arch: arm64
5454
- os: windows-latest
5555
target: win32-x64
56-
bun_target: bun-windows-x64-baseline
56+
bun_target: bun-windows-x64
5757
platform: win32
5858
arch: x64
5959
runs-on: ${{ matrix.os }}

cli/scripts/build-binary.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ function getTargetInfo(): TargetInfo {
9797
arch: 'arm64',
9898
},
9999
'win32-x64': {
100-
bunTarget: 'bun-windows-x64-baseline',
100+
bunTarget: 'bun-windows-x64',
101101
platform: 'win32',
102102
arch: 'x64',
103103
},

0 commit comments

Comments
 (0)