Skip to content

docs: clean up redundant feature blocks in README #4

docs: clean up redundant feature blocks in README

docs: clean up redundant feature blocks in README #4

Workflow file for this run

name: Build Windows Installer
on:
push:
tags: ["v*"]
workflow_dispatch:
permissions:
contents: write
jobs:
build-windows:
name: Windows NSIS Installer
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Set up Node.js 20
uses: actions/setup-node@v4
with:
node-version: "20"
cache: "npm"
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install Node dependencies
run: npm install --legacy-peer-deps
- name: Install Python dependencies
run: pip install -r backend/requirements.txt
- name: Build React frontend
run: npm run build
- name: Build Windows installer
run: npx electron-builder --win --publish never
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload installer artifact
uses: actions/upload-artifact@v4
with:
name: GhostBackup-Windows-Installer
path: release/*.exe
retention-days: 30
- name: Upload to GitHub Release
if: startsWith(github.ref, 'refs/tags/v')
uses: softprops/action-gh-release@v2
with:
files: release/*.exe
generate_release_notes: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}