Skip to content

Commit

Permalink
fix build flake for ddev
Browse files Browse the repository at this point in the history
  • Loading branch information
swang392 committed Jun 20, 2023
1 parent 0ca6c62 commit e794820
Showing 1 changed file with 3 additions and 19 deletions.
22 changes: 3 additions & 19 deletions .github/workflows/build-ddev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand All @@ -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
Expand Down

0 comments on commit e794820

Please sign in to comment.