Skip to content

Codex/avatar gateway troubleshooting (#13) #55

Codex/avatar gateway troubleshooting (#13)

Codex/avatar gateway troubleshooting (#13) #55

Workflow file for this run

name: Build and Release DesktopClaw
on:
workflow_dispatch:
push:
branches:
- main
tags:
- 'v*.*.*'
jobs:
build:
runs-on: windows-latest
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install dependencies
run: npm install
- name: Build Windows installer
run: npx electron-builder --win nsis portable --publish never
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: DesktopClaw-installer
path: dist/*.exe
- name: Create GitHub Release
if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v2
with:
body_path: RELEASE_NOTES.md
files: dist/*.exe
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN || github.token }}