Skip to content

Commit

Permalink
chore: update electron-builder.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
chenfan0 committed Oct 13, 2024
1 parent cf64daf commit 4def911
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,19 @@ jobs:
fi
shell: bash

- name: Upload Windows build artifact
- name: Upload Windows build artifact (x64)
if: ${{ runner.os == 'Windows' }}
uses: actions/upload-artifact@v4
with:
name: build-win-${{ env.VERSION }}-beta
path: dist/fideo-${{ env.VERSION }}.exe
name: build-win-${{ env.VERSION }}-x64-beta
path: dist/fideo-${{ env.VERSION }}-x64.exe

- name: Upload Windows build artifact (arm64)
if: ${{ runner.os == 'Windows' }}
uses: actions/upload-artifact@v4
with:
name: build-win-${{ env.VERSION }}-arm64-beta
path: dist/fideo-${{ env.VERSION }}-arm64.exe

- name: Upload macOS build artifacts (x64)
if: ${{ runner.os == 'macOS' }}
Expand Down
2 changes: 1 addition & 1 deletion electron-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ win:
to: "Resources"
nsis:
oneClick: false
artifactName: ${name}-${version}.${ext}
artifactName: ${name}-${version}-${arch}.${ext}
perMachine: true
allowElevation: true
allowToChangeInstallationDirectory: true
Expand Down

0 comments on commit 4def911

Please sign in to comment.