From a11549c7d35058ec6973d4fadd711ba8bb3768a6 Mon Sep 17 00:00:00 2001
From: Matthew Wellings <git@MatthewWellings.com>
Date: Tue, 19 Mar 2024 12:41:29 +0000
Subject: [PATCH] Correct directory copy commands in macOS GitHub Action.

---
 .github/workflows/macos-build.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/macos-build.yml b/.github/workflows/macos-build.yml
index 7d10190..8fac1e0 100644
--- a/.github/workflows/macos-build.yml
+++ b/.github/workflows/macos-build.yml
@@ -27,7 +27,7 @@ jobs:
       run: |
         mkdir WordSearchCreator-1.2-Basic/
         mkdir WordSearchCreator-1.2-Basic/WordSearchCreator.app/
-        cp WordSearchCreator.app/ WordSearchCreator-1.2-Basic/WordSearchCreator.app/
+        cp -r WordSearchCreator.app/ WordSearchCreator-1.2-Basic/WordSearchCreator.app/
         hdiutil create -volname "WordSearchCreator 1.2" -srcfolder WordSearchCreator-1.2-Basic -ov -format UDZO WordSearchCreator-1.2-Basic.dmg
 
     - name: Archive Basic DMG
@@ -44,7 +44,7 @@ jobs:
       run: |
         mkdir WordSearchCreator-1.2/
         mkdir WordSearchCreator-1.2/WordSearchCreator.app/
-        cp WordSearchCreator.app/ WordSearchCreator-1.2/WordSearchCreator.app/
+        cp -r WordSearchCreator.app/ WordSearchCreator-1.2/WordSearchCreator.app/
         hdiutil create -volname "WordSearchCreator 1.2" -srcfolder WordSearchCreator-1.2 -ov -format UDZO WordSearchCreator-1.2.dmg
 
     - name: Archive Deployable DMG