From c5d20220a177dc8542ae3e5a1a1f20310ae18226 Mon Sep 17 00:00:00 2001 From: Simone Margaritelli Date: Fri, 16 Aug 2024 16:59:24 +0200 Subject: [PATCH] fix: fixed github action macOS architecture and Windows build script --- .github/workflows/build-and-deploy.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index ba6bc341..e8eebf48 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -23,9 +23,9 @@ jobs: target_os: linux target_arch: aarch64 - os: macos-latest - arch: amd64 + arch: arm64 target_os: darwin - target_arch: amd64 + target_arch: arm64 - os: windows-latest arch: amd64 target_os: windows @@ -83,7 +83,6 @@ jobs: file "${{ env.OUTPUT }}" openssl dgst -sha256 "${{ env.OUTPUT }}" | tee bettercap_${{ matrix.target_os }}_${{ matrix.target_arch }}_${{ env.VERSION }}.sha256 7z a "bettercap_${{ matrix.target_os }}_${{ matrix.target_arch }}_${{ env.VERSION }}.zip" "${{ env.OUTPUT }}" "bettercap_${{ matrix.target_os }}_${{ matrix.target_arch }}_${{ env.VERSION }}.sha256" - ls -la bettercap* deploy: needs: [build]