diff --git a/.github/workflows/autogpt-server-ci.yml b/.github/workflows/autogpt-server-ci.yml index 8c4b2b17184..7681bbdfa37 100644 --- a/.github/workflows/autogpt-server-ci.yml +++ b/.github/workflows/autogpt-server-ci.yml @@ -211,12 +211,18 @@ jobs: WINDOWS_COMMAND: "poetry run poe dist_msi" LINUX_COMMAND: "poetry run poe dist_appimage" + - name: Zip the .app directory + if: runner.os == 'macOS' + working-directory: ${{ runner.temp }} + run: | + zip -r autogptserver-app-${{ matrix.platform-os }}.app.zip /Users/runner/work/AutoGPT/AutoGPT/rnd/autogpt_server/build/*.app + # break this into seperate steps each with their own name that matches the file - name: Upload App artifact uses: actions/upload-artifact@v4 with: name: autogptserver-app-${{ matrix.platform-os }} - path: /Users/runner/work/AutoGPT/AutoGPT/rnd/autogpt_server/build/*.app + path: /Users/runner/work/_temp/autogptserver-app-${{ matrix.platform-os }}.app.zip - name: Upload dmg artifact uses: actions/upload-artifact@v4