@@ -9,6 +9,7 @@ permissions:
99jobs :
1010 build :
1111 runs-on : ${{ matrix.os }}
12+ timeout-minutes : 120
1213
1314 strategy :
1415 matrix :
@@ -25,26 +26,30 @@ jobs:
2526 uses : actions/checkout@v4
2627
2728 - name : Setup Node.js
28- uses : actions/setup-node@v4
29+ uses : actions/setup-node@v6
2930 with :
3031 node-version : 20
3132
3233 - name : Setup Python
33- uses : actions/setup-python@v4
34+ uses : actions/setup-python@v6
3435 with :
35- python-version : " 3.11"
36+ python-version : ' 3.11'
3637
3738 - name : Install Python Dependencies
3839 run : |
3940 python -m pip install --upgrade pip
4041 pip install uv
4142
43+ - name : Install bun
44+ run : npm install -g bun
45+
4246 - name : Install Dependencies
4347 run : npm install
4448
4549 # Step for macOS builds with signing
4650 - name : Build Release Files (macOS with signing)
4751 if : runner.os == 'macOS'
52+ timeout-minutes : 90
4853 run : npm run build -- --arch ${{ matrix.arch }}
4954 env :
5055 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
@@ -57,10 +62,12 @@ jobs:
5762 VITE_STACK_PROJECT_ID : ${{ secrets.VITE_STACK_PROJECT_ID }}
5863 VITE_STACK_PUBLISHABLE_CLIENT_KEY : ${{ secrets.VITE_STACK_PUBLISHABLE_CLIENT_KEY }}
5964 VITE_STACK_SECRET_SERVER_KEY : ${{ secrets.VITE_STACK_SECRET_SERVER_KEY }}
65+ USE_NPM_INSTALL_BUN : ' true'
6066
6167 # Step for Windows builds without signing
6268 - name : Build Release Files (Windows without signing)
6369 if : runner.os == 'Windows'
70+ timeout-minutes : 90
6471 run : npm run build -- --arch ${{ matrix.arch }}
6572 env :
6673 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
@@ -69,10 +76,11 @@ jobs:
6976 VITE_STACK_PROJECT_ID : ${{ secrets.VITE_STACK_PROJECT_ID }}
7077 VITE_STACK_PUBLISHABLE_CLIENT_KEY : ${{ secrets.VITE_STACK_PUBLISHABLE_CLIENT_KEY }}
7178 VITE_STACK_SECRET_SERVER_KEY : ${{ secrets.VITE_STACK_SECRET_SERVER_KEY }}
79+ USE_NPM_INSTALL_BUN : ' true'
7280
7381 - name : Upload Artifact (macOS - dmg only)
7482 if : runner.os == 'macOS'
75- uses : actions/upload-artifact@v4
83+ uses : actions/upload-artifact@v6
7684 with :
7785 name : release-${{ matrix.os }}-${{ matrix.arch }}
7886 path : |
8189
8290 - name : Upload Artifact (Windows - exe only)
8391 if : runner.os == 'Windows'
84- uses : actions/upload-artifact@v4
92+ uses : actions/upload-artifact@v6
8593 with :
8694 name : release-${{ matrix.os }}-${{ matrix.arch }}
8795 path : |
@@ -95,21 +103,21 @@ jobs:
95103 run : |
96104 mkdir -p release/mac-x64 release/mac-arm64 release/win-x64
97105
98- # Download all artifacts with correct names
106+ # Download all artifacts with correct names
99107 - name : Download mac-x64 artifact
100- uses : actions/download-artifact@v4
108+ uses : actions/download-artifact@v7
101109 with :
102110 name : release-macos-15-intel-x64
103111 path : temp-mac-x64
104112
105113 - name : Download mac-arm64 artifact
106- uses : actions/download-artifact@v4
114+ uses : actions/download-artifact@v7
107115 with :
108116 name : release-macos-latest-arm64
109117 path : temp-mac-arm64
110118
111119 - name : Download win-x64 artifact
112- uses : actions/download-artifact@v4
120+ uses : actions/download-artifact@v7
113121 with :
114122 name : release-windows-latest-x64
115123 path : temp-win-x64
@@ -138,4 +146,3 @@ jobs:
138146 else
139147 find temp-win-x64 -name "*.exe" -exec mv {} release/win-x64/ \; || true
140148 fi
141-
0 commit comments