Skip to content

Commit

Permalink
Remove excess cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
theherk committed Jan 11, 2025
1 parent fbaa0ab commit cbf3570
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,24 +17,23 @@ jobs:
- name: Build Intel App
run: |
echo "Building Intel version..."
rm -rf build/
ARCH="x86_64" ./build.sh
echo "Checking Intel build contents..."
ls -R build/
echo "Copying Intel build..."
cp -R build/NeovideProject.app build/NeovideProject-intel.app || exit 1
cp build/NeovideProject.dmg build/NeovideProject-intel.dmg || exit 1
rm -rf build/NeovideProject.app build/NeovideProject.dmg
echo "Moving Intel build..."
mv build/NeovideProject.app build/NeovideProject-intel.app
mv build/NeovideProject.dmg build/NeovideProject-intel.dmg
- name: Build ARM App
run: |
echo "Building ARM version..."
ARCH="arm64" ./build.sh
echo "Checking ARM build contents..."
ls -R build/
echo "Copying ARM build..."
cp -R build/NeovideProject.app build/NeovideProject-arm.app || exit 1
cp build/NeovideProject.dmg build/NeovideProject-arm.dmg || exit 1
rm -rf build/NeovideProject.app build/NeovideProject.dmg
echo "Moving ARM build..."
mv build/NeovideProject.app build/NeovideProject-arm.app
mv build/NeovideProject.dmg build/NeovideProject-arm.dmg
- name: Create Universal App
run: |
Expand Down
3 changes: 1 addition & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ case $ARCH in
;;
esac

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

Expand Down

0 comments on commit cbf3570

Please sign in to comment.