From 5faacf25d30cfd3ea50210b4456758cd3ed2a470 Mon Sep 17 00:00:00 2001 From: Xenofon Konitsas <38171523+huskeee@users.noreply.github.com> Date: Sat, 29 Aug 2020 21:56:25 +0300 Subject: [PATCH] Fixed issue with data folder (#321) (#324) * Update dev-desktop-builds.yml Changed the location of pixelorama_data folder inside application * Update dev-desktop-builds.yml Fixed rm command that deleted nonexistent file --- .github/workflows/dev-desktop-builds.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/dev-desktop-builds.yml b/.github/workflows/dev-desktop-builds.yml index 2c62dedc5..07e749c5e 100644 --- a/.github/workflows/dev-desktop-builds.yml +++ b/.github/workflows/dev-desktop-builds.yml @@ -92,7 +92,7 @@ jobs: curl -O https://downloads.tuxfamily.org/godotengine/${GODOT_VERSION}/Godot_v${GODOT_VERSION}-stable_export_templates.tpz unzip -a Godot_v${GODOT_VERSION}-stable_export_templates.tpz mv ./templates/* ~/.local/share/godot/templates/${GODOT_VERSION}.stable - - name: Download Godot headless binary 💾 + - name: Download Godot headless binary 🤖 run: | curl -O https://huskee.cf/files/Godot_v${GODOT_VERSION}-stable_mac_headless.64.zip unzip -a Godot_v${GODOT_VERSION}-stable_mac_headless.64.zip @@ -112,8 +112,8 @@ jobs: run: sips -s format icns ./build/mac/Pixelorama.app/Contents/Resources/icon.icns --out ./build/mac/Pixelorama.app/Contents/Resources/icon.icns - name: Copy pixelorama_data folder 📁 run: | - cp -R ./pixelorama_data ./build/mac - rm ./build/mac/pixelorama_data/.gdignore + cp -R ./pixelorama_data ./build/mac/Pixelorama.app/Contents/MacOS + rm ./build/mac/Pixelorama.app/Contents/MacOS/pixelorama_data/.gdignore - name: Create DMG archive 🔧 run: hdiutil create -size 70m -srcfolder ./build/mac -volname Pixelorama ./build/mac/Pixelorama.dmg - name: Upload Artifact 🚀