fix: action targets
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user