From cdc87c4595a846bd64fa628829c62c8a4d640e5f Mon Sep 17 00:00:00 2001 From: Garry Lachman Date: Thu, 25 May 2023 08:37:53 +0300 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20DMG=20&=20Wait=2030s=20be?= =?UTF-8?q?fore=20build=20job?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/prepare.yml | 6 +++++- forge.config.ts | 3 +++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/prepare.yml b/.github/workflows/prepare.yml index 5779fc9..ab007ca 100644 --- a/.github/workflows/prepare.yml +++ b/.github/workflows/prepare.yml @@ -59,6 +59,9 @@ jobs: os: [macos-latest, ubuntu-latest, windows-2019] steps: + - name: Sleep for 30 seconds + run: sleep 30s + shell: bash - name: Checkout git repo uses: actions/checkout@v3.0.0 with: @@ -78,7 +81,8 @@ jobs: - name: Install Yarn run: corepack enable | corepack prepare yarn@3.5.1 --activate | - corepack yarn config set enableImmutableInstalls false + corepack yarn config set enableImmutableInstalls false | + corepack yarn cache clean - name: Install dependencies run: corepack yarn install diff --git a/forge.config.ts b/forge.config.ts index 5051674..743349d 100644 --- a/forge.config.ts +++ b/forge.config.ts @@ -3,6 +3,7 @@ import { MakerSquirrel } from '@electron-forge/maker-squirrel'; import { MakerZIP } from '@electron-forge/maker-zip'; import { MakerDeb } from '@electron-forge/maker-deb'; import { MakerRpm } from '@electron-forge/maker-rpm'; +import { MakerDMG } from '@electron-forge/maker-dmg'; import { MakerSnap } from '@electron-forge/maker-snap'; import { PublisherGithub } from '@electron-forge/publisher-github'; import { MakerAppImage } from '@reforged/maker-appimage'; @@ -22,6 +23,7 @@ const config: ForgeConfig = { asar: false, executableName: 'electrocrud', name: 'ElectroCRUD', + appVersion: version, appBundleId: 'com.garrylachman.electrocrud', icon: path.resolve(assetsPath, 'icon'), appCategoryType: 'public.app-category.developer-tools', @@ -43,6 +45,7 @@ const config: ForgeConfig = { ['win32'] ), new MakerZIP({}, ['darwin']), + new MakerDMG({}, ['darwin']), new MakerRpm( { options: {