|
|
|
@ -52,17 +52,14 @@ jobs:
|
|
|
|
|
if: runner.os == 'Windows'
|
|
|
|
|
run: node_modules\.bin\electron-builder --config.extraMetadata.environment=%SIGNAL_ENV% --publish=never --config.directories.output=release
|
|
|
|
|
|
|
|
|
|
- name: Setup mac certificate
|
|
|
|
|
- name: Build mac production binaries
|
|
|
|
|
if: runner.os == 'macOS'
|
|
|
|
|
run: |
|
|
|
|
|
source ./build/setup-mac-certificate.sh
|
|
|
|
|
$(yarn bin)/electron-builder --config.extraMetadata.environment=$SIGNAL_ENV --config.mac.bundleVersion=${{ github.ref }} --publish=never --config.directories.output=release
|
|
|
|
|
env:
|
|
|
|
|
MAC_CERTIFICATE: ${{ secrets.MAC_CERTIFICATE }}
|
|
|
|
|
MAC_CERTIFICATE_PASSWORD: ${{ secrets.MAC_CERTIFICATE_PASSWORD }}
|
|
|
|
|
run: source ./build/setup-mac-certificate.sh
|
|
|
|
|
|
|
|
|
|
- name: Build mac production binaries
|
|
|
|
|
if: runner.os == 'macOS'
|
|
|
|
|
run: $(yarn bin)/electron-builder --config.extraMetadata.environment=$SIGNAL_ENV --config.mac.bundleVersion=${{ github.ref }} --publish=never --config.directories.output=release
|
|
|
|
|
env:
|
|
|
|
|
SIGNING_APPLE_ID: ${{ secrets.SIGNING_APPLE_ID }}
|
|
|
|
|
SIGNING_APP_PASSWORD: ${{ secrets.SIGNING_APP_PASSWORD }}
|
|
|
|
|
SIGNING_TEAM_ID: ${{ secrets.SIGNING_TEAM_ID }}
|
|
|
|
|