From f5f1eaf63140c11d26cef3edd662d90549abfb63 Mon Sep 17 00:00:00 2001 From: Nadia Holmquist Pedersen Date: Thu, 28 Dec 2023 13:48:35 +0100 Subject: [PATCH] Put the finishing touches on it --- .github/workflows/build-macos.yml | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml index 0370b2a9..0209c46f 100644 --- a/.github/workflows/build-macos.yml +++ b/.github/workflows/build-macos.yml @@ -1,5 +1,12 @@ name: build-macos -on: [push, workflow_dispatch] + +on: + push: + branches: + - master + pull_request: + branches: + - master jobs: build-macos: @@ -52,7 +59,6 @@ jobs: with: name: macOS-arm64 path: arm64 - - run: find . - name: Combine app bundles shell: bash run: | @@ -67,4 +73,12 @@ jobs: uses: actions/upload-artifact@v4 with: name: macOS-universal - path: macOS-universal.zip \ No newline at end of file + path: macOS-universal.zip + - name: Clean up architecture-specific artifacts + uses: geekyeggo/delete-artifact@v4 + with: + token: ${{ secrets.GITHUB_TOKEN }} + failOnError: false + name: | + macOS-x86_64 + macOS-arm64 \ No newline at end of file