fix: action targets
This commit is contained in:
@@ -25,9 +25,13 @@ jobs:
|
||||
echo "API_URL=${{ secrets.API_URL }}" >> .env
|
||||
echo "NODE_ENV=production" >> .env
|
||||
|
||||
- name: Build TypeScript
|
||||
working-directory: electron-app
|
||||
run: npm run build
|
||||
|
||||
- name: Build Windows portable executable
|
||||
working-directory: electron-app
|
||||
run: npm run build:portable
|
||||
run: npx electron-builder --win portable --config electron-builder.yml
|
||||
|
||||
- name: Upload Windows portable artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
|
||||
@@ -14,9 +14,7 @@ extraResources:
|
||||
win:
|
||||
icon: resources/icons/icon.ico
|
||||
target:
|
||||
- target: portable
|
||||
arch:
|
||||
- x64
|
||||
- portable
|
||||
artifactName: ${productName}-${version}-${arch}.${ext}
|
||||
sign: null
|
||||
signingHashAlgorithms:
|
||||
|
||||
Reference in New Issue
Block a user