diff --git a/.github/workflows/build-release-artifacts.yml b/.github/workflows/build-release-artifacts.yml index 17a816958b..6139ddc413 100644 --- a/.github/workflows/build-release-artifacts.yml +++ b/.github/workflows/build-release-artifacts.yml @@ -33,6 +33,8 @@ jobs: target: x86_64-pc-windows-msvc - os: macos-latest target: x86_64-apple-darwin + - os: macos-latest + target: aarch64-apple-darwin - os: ubuntu-latest target: x86_64-unknown-linux-musl - os: ubuntu-latest @@ -66,7 +68,7 @@ jobs: package: name: package artifacts runs-on: ubuntu-latest - needs: [build] + needs: [ build ] steps: - uses: actions/checkout@v4 with: @@ -79,6 +81,10 @@ jobs: with: name: safe_network-x86_64-unknown-linux-musl path: artifacts/x86_64-unknown-linux-musl/release + - uses: actions/download-artifact@master + with: + name: safe_network-aarch64-apple-darwin + path: artifacts/aarch64-apple-darwin/release - uses: actions/download-artifact@master with: name: safe_network-x86_64-apple-darwin diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8e70b4efa4..865301da6c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -97,7 +97,7 @@ jobs: github.event_name == 'workflow_dispatch' name: publish flows and release creation runs-on: ubuntu-latest - needs: [build] + needs: [ build ] env: AWS_ACCESS_KEY_ID: ${{ secrets.S3_DEPLOY_AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.S3_DEPLOY_AWS_SECRET_ACCESS_KEY }} @@ -122,6 +122,10 @@ jobs: with: name: safe_network-x86_64-apple-darwin path: artifacts/x86_64-apple-darwin/release + - uses: actions/download-artifact@master + with: + name: safe_network-aarch64-apple-darwin + path: artifacts/aarch64-apple-darwin/release - uses: actions/download-artifact@master with: name: safe_network-arm-unknown-linux-musleabi diff --git a/Justfile b/Justfile index ec2f48137f..84a4b0980b 100644 --- a/Justfile +++ b/Justfile @@ -73,6 +73,7 @@ build-release-artifacts arch: supported_archs=( "x86_64-pc-windows-msvc" "x86_64-apple-darwin" + "aarch64-apple-darwin" "x86_64-unknown-linux-musl" "arm-unknown-linux-musleabi" "armv7-unknown-linux-musleabihf" @@ -152,6 +153,7 @@ make-artifacts-directory: architectures=( "x86_64-pc-windows-msvc" "x86_64-apple-darwin" + "aarch64-apple-darwin" "x86_64-unknown-linux-musl" "arm-unknown-linux-musleabi" "armv7-unknown-linux-musleabihf" @@ -171,6 +173,7 @@ package-release-assets bin version="": architectures=( "x86_64-pc-windows-msvc" "x86_64-apple-darwin" + "aarch64-apple-darwin" "x86_64-unknown-linux-musl" "arm-unknown-linux-musleabi" "armv7-unknown-linux-musleabihf"