diff --git a/.github/actions/build-electron/action.yml b/.github/actions/build-electron/action.yml index 51b022bed..2c168c7ac 100644 --- a/.github/actions/build-electron/action.yml +++ b/.github/actions/build-electron/action.yml @@ -38,21 +38,21 @@ runs: - name: Verify certificates if: inputs.os == 'macos' - shell: bash + shell: cmd run: | echo "Available signing identities:" security find-identity -v -p codesigning build.keychain - name: Set up Python and other macOS dependencies if: ${{ inputs.os == 'macos' }} - shell: bash + shell: cmd run: | brew install python-setuptools brew install create-dmg - name: Install dependencies for RPM and Flatpak package building if: ${{ inputs.os == 'linux' }} - shell: bash + shell: cmd run: | sudo apt-get update && sudo apt-get install rpm flatpak-builder elfutils flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo @@ -62,16 +62,16 @@ runs: # Build setup - name: Install dependencies - shell: bash + shell: cmd run: npm ci - name: Update build info - shell: bash + shell: cmd run: npm run chore:update-build-info # Critical debugging configuration - name: Run electron-forge build with enhanced logging - shell: bash + shell: cmd env: # Pass through required environment variables for signing and notarization APPLE_TEAM_ID: ${{ env.APPLE_TEAM_ID }} @@ -94,7 +94,7 @@ runs: # Add DMG signing step - name: Sign DMG if: inputs.os == 'macos' - shell: bash + shell: cmd run: | echo "Signing DMG file..." dmg_file=$(find ./dist -name "*.dmg" -print -quit) @@ -119,7 +119,7 @@ runs: - name: Verify code signing if: inputs.os == 'macos' - shell: bash + shell: cmd run: | echo "Verifying code signing for all artifacts..." @@ -167,7 +167,7 @@ runs: fi - name: Prepare artifacts - shell: bash + shell: cmd run: | mkdir -p upload