Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 17 additions & 9 deletions .github/workflows/electron.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,25 +70,33 @@ jobs:
run: |
cd launcher && npm i

- name: Build Electron app
- name: Build Electron app (windows and linux)
uses: samuelmeuli/action-electron-builder@v1
with:
github_token: ${{ secrets.github_token }}
package_root: launcher
use_vue_cli: true
release: never
build_script_name: dist
mac_certs: ${{ secrets.mac_certs }}
mac_certs_password: ${{ secrets.mac_certs_password }}
args: ${{ env.BUILD_ARGS }}
env:
APPLE_ID: ${{ secrets.apple_id }}
APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.apple_app_specific_password }}
TEAM_SHORT_NAME: ${{ secrets.team_short_name }}
APP_ID: "com.stereum.launcher"
APPLE_TEAM_ID: ${{ secrets.team_id }}
NOTARIZE: "true"
KEYPAIR_ALIAS: ${{ secrets.KEYPAIR_ALIAS }}
if: ${{ !contains(github.event.head_commit.message, '[NOCI]') }}
if: ${{ !contains(github.event.head_commit.message, '[NOCI]') && matrix.os != 'macos-latest' }}

- name: Build Electron app (macOS, unsigned)
uses: samuelmeuli/action-electron-builder@v1
with:
github_token: ${{ secrets.github_token }}
package_root: launcher
use_vue_cli: true
release: never
build_script_name: dist
args: ${{ env.BUILD_ARGS }}
env:
NOTARIZE: "false"
CSC_IDENTITY_AUTO_DISCOVERY: "false"
if: ${{ !contains(github.event.head_commit.message, '[NOCI]') && matrix.os == 'macos-latest'}}

- name: Verify Signing using Signtool on windows-latest
run: |
Expand Down
2 changes: 1 addition & 1 deletion controls/roles/manage-service/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
hex_chars: "0123456789abcdef"
become: yes
when:
- stereum_service_configuration.service in ['BesuService', 'GethService', 'RethService', 'NethermindService', 'ErigonService', 'LighthouseBeaconService', 'NimbusBeaconService', 'PrysmBeaconService', 'TekuBeaconService', 'LodestarBeaconService', 'OpGethService', 'OpErigonService', 'OpRethService']
- stereum_service_configuration.service in ['BesuService', 'GethService', 'RethService', 'NethermindService', 'ErigonService', 'LighthouseBeaconService', 'NimbusBeaconService', 'PrysmBeaconService', 'TekuBeaconService', 'LodestarBeaconService', 'OpGethService', 'OpErigonService', 'OpRethService', 'GrandineBeaconService', 'EthrexService']
- stereum_service_configuration.volumes | select('search', ':/engine.jwt|/execution/engine.jwt|:/op-engine.jwt') | length > 0

- include_tasks: write-graffiti-files.yml
Expand Down
3 changes: 2 additions & 1 deletion launcher/vue.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
const shouldNotarize = process.env.NOTARIZE === "true";
module.exports = {
parallel: false,
pluginOptions: {
Expand All @@ -10,7 +11,7 @@ module.exports = {
},
appId: "com.stereum.launcher",
productName: "Stereum-Launcher",
afterSign: "@sapien99/vue-cli-plugin-electron-builder-notarize",
...(shouldNotarize ? { afterSign: "@sapien99/vue-cli-plugin-electron-builder-notarize" } : {}),
buildDependenciesFromSource: false,
nodeGypRebuild: false,
npmRebuild: false,
Expand Down
Loading