Skip to content

Commit 8dadb39

Browse files
committed
Add GitHub release workflow
1 parent 973f6d8 commit 8dadb39

1 file changed

Lines changed: 49 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags:
6+
- "v*"
7+
8+
permissions:
9+
contents: write
10+
11+
jobs:
12+
build-windows:
13+
name: Build Windows installer
14+
runs-on: windows-latest
15+
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v4
19+
20+
- name: Setup Node.js
21+
uses: actions/setup-node@v4
22+
with:
23+
node-version: 24
24+
cache: npm
25+
26+
- name: Install dependencies
27+
run: npm ci
28+
29+
- name: Check source
30+
run: npm run lint
31+
32+
- name: Build installer
33+
run: npm run pack:win
34+
35+
- name: Publish GitHub Release
36+
uses: softprops/action-gh-release@v2
37+
with:
38+
name: CodexAuth Switch ${{ github.ref_name }}
39+
body: |
40+
Initial open-source release.
41+
42+
- Windows local Codex App account switcher
43+
- DPAPI-encrypted local account snapshots
44+
- No OpenAI official API calls
45+
- No Codex conversation history upload
46+
- The installer is not commercially code-signed, so Windows may show a security warning.
47+
files: |
48+
release/CodexAuthSwitch-Setup-*.exe
49+
release/CodexAuthSwitch-Setup-*.exe.blockmap

0 commit comments

Comments
 (0)