Skip to content

Commit cbf3570

Browse files
committed
Remove excess cleanup.
1 parent fbaa0ab commit cbf3570

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,24 +17,23 @@ jobs:
1717
- name: Build Intel App
1818
run: |
1919
echo "Building Intel version..."
20+
rm -rf build/
2021
ARCH="x86_64" ./build.sh
2122
echo "Checking Intel build contents..."
2223
ls -R build/
23-
echo "Copying Intel build..."
24-
cp -R build/NeovideProject.app build/NeovideProject-intel.app || exit 1
25-
cp build/NeovideProject.dmg build/NeovideProject-intel.dmg || exit 1
26-
rm -rf build/NeovideProject.app build/NeovideProject.dmg
24+
echo "Moving Intel build..."
25+
mv build/NeovideProject.app build/NeovideProject-intel.app
26+
mv build/NeovideProject.dmg build/NeovideProject-intel.dmg
2727
2828
- name: Build ARM App
2929
run: |
3030
echo "Building ARM version..."
3131
ARCH="arm64" ./build.sh
3232
echo "Checking ARM build contents..."
3333
ls -R build/
34-
echo "Copying ARM build..."
35-
cp -R build/NeovideProject.app build/NeovideProject-arm.app || exit 1
36-
cp build/NeovideProject.dmg build/NeovideProject-arm.dmg || exit 1
37-
rm -rf build/NeovideProject.app build/NeovideProject.dmg
34+
echo "Moving ARM build..."
35+
mv build/NeovideProject.app build/NeovideProject-arm.app
36+
mv build/NeovideProject.dmg build/NeovideProject-arm.dmg
3837
3938
- name: Create Universal App
4039
run: |

build.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ case $ARCH in
2020
;;
2121
esac
2222

23-
# Clean and create build directory structure
24-
rm -rf "build"
23+
# Create build directory structure (don't clean, let workflow handle that)
2524
mkdir -p "build/$APP_NAME.app/Contents/MacOS"
2625
mkdir -p "build/$APP_NAME.app/Contents/Resources"
2726

0 commit comments

Comments
 (0)