wholy dick
This commit is contained in:
@@ -25,12 +25,25 @@ jobs:
|
||||
echo "API_URL=${{ secrets.API_URL }}" >> .env
|
||||
echo "NODE_ENV=production" >> .env
|
||||
|
||||
- name: Verify icon file exists
|
||||
working-directory: electron-app
|
||||
run: |
|
||||
if (Test-Path "resources/icons/icon.ico") {
|
||||
Write-Host "Icon file found"
|
||||
Get-Item "resources/icons/icon.ico" | Select-Object FullName, Length
|
||||
} else {
|
||||
Write-Error "Icon file not found!"
|
||||
exit 1
|
||||
}
|
||||
|
||||
- name: Build TypeScript
|
||||
working-directory: electron-app
|
||||
run: npm run build
|
||||
|
||||
- name: Build Windows portable executable
|
||||
- name: Build Windows portable executable (skip signing)
|
||||
working-directory: electron-app
|
||||
env:
|
||||
CSC_IDENTITY_AUTO_DISCOVERY: false
|
||||
run: npx electron-builder --win portable --config electron-builder.yml
|
||||
|
||||
- name: Upload Windows portable artifact
|
||||
|
||||
Reference in New Issue
Block a user