Skip to content

Commit 41bc03a

Browse files
committed
Revert "fix macos build (?)"
This reverts commit 2ab6eff.
1 parent 2ab6eff commit 41bc03a

File tree

1 file changed

+8
-13
lines changed

1 file changed

+8
-13
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ name: Build Pear Desktop
22

33
on:
44
push:
5-
branches: [master]
5+
branches: [ master ]
66
pull_request:
77

88
env:
9-
NODE_VERSION: '22.x'
9+
NODE_VERSION: "22.x"
1010

1111
jobs:
1212
build:
@@ -16,32 +16,26 @@ jobs:
1616
strategy:
1717
fail-fast: true
1818
matrix:
19-
os: [macos-latest, ubuntu-latest, windows-latest]
19+
os: [ macos-latest, ubuntu-latest, windows-latest ]
2020

2121
steps:
2222
- uses: actions/checkout@v5
2323

24-
- name: Setup XCode
25-
if: startsWith(matrix.os, 'macos')
26-
uses: maxim-lobanov/setup-xcode@v1
27-
with:
28-
xcode-version: '26'
29-
3024
- name: Install pnpm
3125
uses: pnpm/action-setup@v4
3226
with:
3327
version: 10
3428
run_install: false
3529

3630
- name: Setup NodeJS
37-
if: startsWith(matrix.os, 'macos') != true
31+
if: startsWith(matrix.os, 'macOS') != true
3832
uses: actions/setup-node@v5
3933
with:
4034
node-version: ${{ env.NODE_VERSION }}
4135
cache: 'pnpm'
4236

43-
- name: Setup NodeJS for macos
44-
if: startsWith(matrix.os, 'macos')
37+
- name: Setup NodeJS for macOS
38+
if: startsWith(matrix.os, 'macOS')
4539
uses: actions/setup-node@v5
4640
with:
4741
node-version: ${{ env.NODE_VERSION }}
@@ -91,6 +85,7 @@ jobs:
9185
with:
9286
run: pnpm test:debug
9387

88+
9489
release:
9590
runs-on: ubuntu-latest
9691
name: Release Pear Desktop
@@ -171,6 +166,6 @@ jobs:
171166
uses: stefanzweifel/git-auto-commit-action@v6
172167
with:
173168
commit_message: Update changelog for ${{ env.VERSION_TAG }}
174-
file_pattern: 'changelog.md'
169+
file_pattern: "changelog.md"
175170
commit_user_name: CI
176171
commit_user_email: [email protected]

0 commit comments

Comments
 (0)