eleven / messenger Public

workflow: create zip archive of native macOS app for releases

James Adam e13808ab6c9b962d37cde3d9e8d89e474be88eaa parent 73b8cc3
1 file changed, +8 −8
  • .github/workflows/build-apps.yml +8 −8
diff --git a/.github/workflows/build-apps.yml b/.github/workflows/build-apps.yml
index 6819d76..9a834d4 100644
--- a/.github/workflows/build-apps.yml
+++ b/.github/workflows/build-apps.yml
@@ -34,27 +34,27 @@ jobs:
-destination 'generic/platform=macOS' \
-derivedDataPath build CODE_SIGNING_ALLOWED=NO build
- - name: Prepare artifacts
+ - name: Package app
run: |
- mkdir -p artifacts
- # Native macOS build
- ditto ios/build/Build/Products/Debug/Eleven.app artifacts/Eleven.app
+ cd ios/build/Build/Products/Debug
+ ditto -c -k --sequesterRsrc Eleven.app Eleven.app.zip
+ ls -lh Eleven.app.zip
- name: Create release
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: softprops/action-gh-release@v1
with:
- files: artifacts/**
+ files: ios/build/Build/Products/Debug/Eleven.app.zip
tag_name: app-build-${{ github.run_number }}
name: App Build ${{ github.run_number }}
body: |
Built from commit ${{ github.sha }}
- - **Eleven.app** — native macOS
+ - **Eleven.app.zip** — native macOS app
- name: Upload artifacts for PR
if: github.event_name == 'pull_request'
uses: actions/upload-artifact@v4
with:
- name: lchat-apps-${{ github.run_number }}
- path: artifacts/
+ name: Eleven.app
+ path: ios/build/Build/Products/Debug/Eleven.app.zip
retention-days: 7