Skip to content

Commit

Permalink
Run build first
Browse files Browse the repository at this point in the history
  • Loading branch information
Kitenite committed Dec 11, 2024
1 parent 6ce2e41 commit 8347b59
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,14 @@ jobs:
echo "VITE_LANGFUSE_SECRET_KEY=${{ secrets.LANGFUSE_SECRET_KEY }}" >> $GITHUB_ENV
# Build and sign Windows separately using Azure Trusted Signing
- name: Build Electron app (Windows)
- name: Build Electron App (Windows only)
if: startsWith(matrix.os, 'windows')
working-directory: apps/studio
run: npx electron-builder --win --dir
run: bun run build && npx electron-builder --win
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Azure Trusted Signing
- name: Azure Trusted Signing (Windows only)
if: startsWith(matrix.os, 'windows')
uses: azure/[email protected]
with:
Expand All @@ -95,7 +95,7 @@ jobs:
files-folder: apps/studio/dist/win-unpacked
files-folder-filter: exe

- name: Build/release Electron app
- name: Build and Release Electron App
uses: samuelmeuli/action-electron-builder@v1
with:
skip_build: ${{ startsWith(matrix.os, 'windows') }} # Skip build for Windows since we build and sign separately
Expand Down

0 comments on commit 8347b59

Please sign in to comment.