diff --git a/.github/workflows/build-loop.yml b/.github/workflows/build-loop.yml index 3e0dbf8b..0c4cb156 100644 --- a/.github/workflows/build-loop.yml +++ b/.github/workflows/build-loop.yml @@ -34,10 +34,6 @@ jobs: - name: Build Loop.app run: | sh ./resources/build_loop.sh debug - - - name: Zip Loop.app - run: | - ditto -c -k --sequesterRsrc --keepParent Loop.app Loop.zip - name: Upload achived app uses: actions/upload-artifact@v3.1.2 diff --git a/.gitignore b/.gitignore index d5a4291e..3613480e 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ Loop.app *.xcuserstate project.xcworkspace xcuserdata +Loop.zip diff --git a/resources/build_loop.sh b/resources/build_loop.sh index 47aee8f5..9519ef3d 100755 --- a/resources/build_loop.sh +++ b/resources/build_loop.sh @@ -3,6 +3,7 @@ echo "Preparing..." rm -rf ./Loop.app +rm -rf ./Loop.zip echo "Building Loop..." xcodebuild clean archive -project ./Loop.xcodeproj -scheme Loop -archivePath ./Archive @@ -22,5 +23,8 @@ echo "Cleaning up..." rm -rf Archive.xcarchive rm -rf Build +echo "Compressing..." +ditto -c -k --sequesterRsrc --keepParent Loop.app Loop.zip + open . echo "Done!"