Skip to content

Commit

Permalink
fix: 🐛 DMG & Wait 30s before build job
Browse files Browse the repository at this point in the history
  • Loading branch information
garrylachman committed May 25, 2023
1 parent 8aa4a00 commit cdc87c4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down
3 changes: 3 additions & 0 deletions forge.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -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',
Expand All @@ -43,6 +45,7 @@ const config: ForgeConfig = {
['win32']
),
new MakerZIP({}, ['darwin']),
new MakerDMG({}, ['darwin']),
new MakerRpm(
{
options: {
Expand Down

0 comments on commit cdc87c4

Please sign in to comment.