Skip to content

Commit 7dcb59a

Browse files
author
Brendan Gray
committed
fix: const->let in agenticChat, remove name from prompts, void default theme, CI nosign build
1 parent d3a3f9f commit 7dcb59a

5 files changed

Lines changed: 6194 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 124 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,124 @@
1+
name: Build & Release
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
workflow_dispatch:
8+
inputs:
9+
version:
10+
description: 'Version tag (e.g. 2.0.0)'
11+
required: false
12+
13+
permissions:
14+
contents: write
15+
16+
jobs:
17+
build-windows:
18+
runs-on: windows-latest
19+
steps:
20+
- uses: actions/checkout@v4
21+
22+
- uses: actions/setup-node@v4
23+
with:
24+
node-version: '20'
25+
26+
- name: Install dependencies
27+
run: npm ci
28+
29+
- name: Build renderer
30+
run: npm run build:renderer
31+
32+
- name: Build Windows installer
33+
run: npx electron-builder --win --x64 --config electron-builder.nosign.json
34+
env:
35+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36+
37+
- name: Upload Windows artifact
38+
uses: actions/upload-artifact@v4
39+
with:
40+
name: windows-installer
41+
path: dist-electron/guIDE-Setup-*.exe
42+
retention-days: 30
43+
44+
build-linux:
45+
runs-on: ubuntu-latest
46+
steps:
47+
- uses: actions/checkout@v4
48+
49+
- uses: actions/setup-node@v4
50+
with:
51+
node-version: '20'
52+
53+
- name: Install dependencies
54+
run: npm ci
55+
56+
- name: Build renderer
57+
run: npm run build:renderer
58+
59+
- name: Build Linux AppImage
60+
run: npx electron-builder --linux --x64 --config electron-builder.nosign.json
61+
env:
62+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
63+
64+
- name: Upload Linux artifact
65+
uses: actions/upload-artifact@v4
66+
with:
67+
name: linux-appimage
68+
path: dist-electron/guIDE-*.AppImage
69+
retention-days: 30
70+
71+
build-mac:
72+
runs-on: macos-latest
73+
steps:
74+
- uses: actions/checkout@v4
75+
76+
- uses: actions/setup-node@v4
77+
with:
78+
node-version: '20'
79+
80+
- name: Install dependencies
81+
run: npm ci
82+
83+
- name: Build renderer
84+
run: npm run build:renderer
85+
86+
- name: Build macOS DMG (x64 + arm64)
87+
run: npx electron-builder --mac --x64 --arm64 --config electron-builder.nosign.json
88+
env:
89+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
90+
CSC_IDENTITY_AUTO_DISCOVERY: 'false'
91+
CSC_LINK: ''
92+
93+
- name: Upload macOS artifacts
94+
uses: actions/upload-artifact@v4
95+
with:
96+
name: mac-dmg
97+
path: dist-electron/guIDE-*.dmg
98+
retention-days: 30
99+
100+
release:
101+
needs: [build-windows, build-linux, build-mac]
102+
runs-on: ubuntu-latest
103+
if: startsWith(github.ref, 'refs/tags/v')
104+
steps:
105+
- name: Download all artifacts
106+
uses: actions/download-artifact@v4
107+
with:
108+
path: artifacts
109+
110+
- name: List artifacts
111+
run: find artifacts -type f
112+
113+
- name: Create GitHub Release
114+
uses: softprops/action-gh-release@v2
115+
with:
116+
files: |
117+
artifacts/windows-installer/*
118+
artifacts/linux-appimage/*
119+
artifacts/mac-dmg/*
120+
draft: false
121+
prerelease: false
122+
generate_release_notes: true
123+
env:
124+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)