Skip to content

Commit 1556cbf

Browse files
committed
Add manual build back
1 parent 261b1f2 commit 1556cbf

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

.github/workflows/manual-build.yml

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: manual-build
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
os:
7+
description: "Operating System"
8+
required: true
9+
type: choice
10+
options:
11+
- ubuntu-latest
12+
- windows-latest
13+
- macos-latest
14+
15+
jobs:
16+
build:
17+
runs-on: ${{ github.event.inputs.os }}
18+
19+
steps:
20+
- name: Check out Git repository
21+
uses: actions/checkout@v4
22+
23+
- name: Install Node.js
24+
uses: actions/setup-node@v4
25+
with:
26+
node-version: 18
27+
28+
- name: Build/release Electron app
29+
uses: AllenCellSoftware/action-electron-builder@fms-file-explorer
30+
env:
31+
AMPLITUDE_API_KEY: ${{ secrets.AMPLITUDE_API_KEY }}
32+
with:
33+
github_token: ${{ secrets.github_token }}
34+
package_root: "packages/desktop"
35+
release: false # No release, just build
36+
windows_certs: ${{ secrets.CSC_LINK }}
37+
windows_certs_password: ${{ secrets.CSC_KEY_PASSWORD }}
38+
39+
- name: Upload build artifacts
40+
uses: actions/upload-artifact@v4
41+
with:
42+
name: electron-build-${{ github.event.inputs.os }}
43+
path: |
44+
packages/desktop/build
45+
retention-days: 7 # Artifacts will be stored for 7 days

0 commit comments

Comments
 (0)