Skip to content

release 1.5.1

release 1.5.1 #4

Workflow file for this run

name: Windows Release Build
on:
push:
tags:
- 'v*'
- '[0-9]+.[0-9]+.[0-9]+'
workflow_dispatch:
permissions:
contents: write
jobs:
build-windows:
name: Build Windows Packages
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build application
run: npm run build
- name: Build Windows packages
run: npm run electron:build
- name: List built artifacts
run: |
Write-Host "Contents of dist directory:"
Get-ChildItem -Path dist -Filter "EasyEdit-*" | Format-Table Name, Length
- name: Upload artifacts to release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
dist/EasyEdit-Setup-*.exe
dist/EasyEdit-Setup-*.msi
dist/EasyEdit-Portable-*.exe
dist/EasyEdit-Portable-*.zip
fail_on_unmatched_files: false
generate_release_notes: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload build artifacts for debugging
uses: actions/upload-artifact@v4
with:
name: windows-packages
path: |
dist/EasyEdit-Setup-*.exe
dist/EasyEdit-Setup-*.msi
dist/EasyEdit-Portable-*.exe
dist/EasyEdit-Portable-*.zip
retention-days: 30