From e794820add4b72dc20332571640b8736586282d9 Mon Sep 17 00:00:00 2001 From: Sarah Wang Date: Tue, 20 Jun 2023 10:54:34 -0400 Subject: [PATCH] fix build flake for ddev --- .github/workflows/build-ddev.yml | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) diff --git a/.github/workflows/build-ddev.yml b/.github/workflows/build-ddev.yml index ca9fe9abfe1d0b..389eb11e3c87fd 100644 --- a/.github/workflows/build-ddev.yml +++ b/.github/workflows/build-ddev.yml @@ -210,12 +210,7 @@ jobs: windows-packaging: name: Build Windows installers - if: >- - github.event_name == 'push' - && - github.event.pull_request.head.repo.full_name == github.repository - && - (github.ref == 'refs/heads/master' || startsWith(github.event.ref, 'refs/tags')) + if: github.event.pull_request.head.repo.full_name == github.repository needs: binaries runs-on: windows-2022 @@ -285,12 +280,7 @@ jobs: macos-packaging: name: Build macOS installer and sign/notarize artifacts - if: >- - github.event_name == 'push' - && - github.event.pull_request.head.repo.full_name == github.repository - && - (github.ref == 'refs/heads/master' || startsWith(github.event.ref, 'refs/tags')) + if: github.event.pull_request.head.repo.full_name == github.repository needs: binaries runs-on: macos-12 @@ -313,13 +303,7 @@ jobs: run: brew install create-dmg - name: Install rcodesign - env: - ARCHIVE_NAME: "apple-codesign-0.22.0-x86_64-apple-darwin" - run: >- - curl -L - "https://github.com/indygreg/apple-platform-rs/releases/download/apple-codesign%2F0.22.0/$ARCHIVE_NAME.tar.gz" - | - tar --strip-components=1 -xzf - -C /usr/local/bin "$ARCHIVE_NAME/rcodesign" + run: cargo install apple-codesign - name: Download staged binaries uses: actions/download-artifact@v3