fix: action targets

This commit is contained in:
2025-12-04 13:42:58 -05:00
parent ab663e7d2b
commit 29d4068e29
2 changed files with 6 additions and 4 deletions

View File

@@ -25,9 +25,13 @@ jobs:
echo "API_URL=${{ secrets.API_URL }}" >> .env echo "API_URL=${{ secrets.API_URL }}" >> .env
echo "NODE_ENV=production" >> .env echo "NODE_ENV=production" >> .env
- name: Build TypeScript
working-directory: electron-app
run: npm run build
- name: Build Windows portable executable - name: Build Windows portable executable
working-directory: electron-app working-directory: electron-app
run: npm run build:portable run: npx electron-builder --win portable --config electron-builder.yml
- name: Upload Windows portable artifact - name: Upload Windows portable artifact
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4

View File

@@ -14,9 +14,7 @@ extraResources:
win: win:
icon: resources/icons/icon.ico icon: resources/icons/icon.ico
target: target:
- target: portable - portable
arch:
- x64
artifactName: ${productName}-${version}-${arch}.${ext} artifactName: ${productName}-${version}-${arch}.${ext}
sign: null sign: null
signingHashAlgorithms: signingHashAlgorithms: