From 5c40b1dffd5eb3a374d3243b54962db7041d0c02 Mon Sep 17 00:00:00 2001 From: Ivan Dyachkov Date: Fri, 25 Nov 2022 13:09:02 +0100 Subject: [PATCH] ci: build macos release packages for apple silicon (arm64) --- .github/workflows/build_packages.yaml | 9 ++++----- changes/v5.0.11-en.md | 2 ++ 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build_packages.yaml b/.github/workflows/build_packages.yaml index b738ab9995..5149b5d462 100644 --- a/.github/workflows/build_packages.yaml +++ b/.github/workflows/build_packages.yaml @@ -74,7 +74,7 @@ jobs: esac ;; esac - echo "::set-output name=BUILD_PROFILE::$PROFILE" + echo "BUILD_PROFILE=$PROFILE" >> $GITHUB_OUTPUT - name: get_all_deps run: | make -C source deps-all @@ -143,8 +143,10 @@ jobs: - 24.3.4.2-1 os: - macos-11 + - macos-12-arm64 runs-on: ${{ matrix.os }} steps: + - uses: emqx/self-hosted-cleanup-action@v1.0.3 - uses: actions/download-artifact@v3 with: name: source @@ -152,11 +154,8 @@ jobs: - name: unzip source code run: | ln -s . source - unzip -q source.zip + unzip -o -q source.zip rm source source.zip - - name: prepare - run: | - git config --global credential.helper store - uses: ./.github/actions/package-macos with: profile: ${{ matrix.profile }} diff --git a/changes/v5.0.11-en.md b/changes/v5.0.11-en.md index e53c5785eb..3bf1c6aa79 100644 --- a/changes/v5.0.11-en.md +++ b/changes/v5.0.11-en.md @@ -23,6 +23,8 @@ - Keep MQTT v5 User-Property pairs from bridge ingested MQTT messsages to bridge target [#9398](https://github.com/emqx/emqx/pull/9398). +- Start building MacOS packages for Apple Silicon hadrdware [#9423](https://github.com/emqx/emqx/pull/9423). + ## Bug fixes - Fix `ssl.existingName` option of helm chart not working [#9307](https://github.com/emqx/emqx/issues/9307).