From d1be6aa6f2805324081fa8be70d85762518a61c6 Mon Sep 17 00:00:00 2001 From: rustmailer Date: Thu, 20 Nov 2025 12:07:46 +0800 Subject: [PATCH] update --- .github/workflows/release.yml | 25 +++---------------------- 1 file changed, 3 insertions(+), 22 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index eb0e8b9..83e2740 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,9 +21,6 @@ jobs: os: ubuntu-latest - target: x86_64-unknown-linux-musl os: ubuntu-latest - - target: aarch64-unknown-linux-gnu - os: ubuntu-latest - runs-on: ubuntu-latest-arm64 - target: x86_64-apple-darwin os: macos-latest - target: x86_64-pc-windows-msvc @@ -60,12 +57,6 @@ jobs: run: sudo apt-get update && sudo apt-get install -y musl-tools - name: Build Rust backend - env: - CC: gcc - CXX: g++ - CC_aarch64_unknown_linux_gnu: gcc - CXX_aarch64_unknown_linux_gnu: g++ - CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER: gcc run: cargo build --release --features vendored-openssl --target=${{ matrix.target }} - name: Strip binary (Linux and macOS) @@ -153,24 +144,15 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - - name: Download Linux musl artifact (amd64) + - name: Download Linux musl artifact uses: actions/download-artifact@v4 with: name: x86_64-unknown-linux-musl - path: artifacts/amd64 - - - name: Download Linux artifact (arm64) - uses: actions/download-artifact@v4 - with: - name: aarch64-unknown-linux-gnu - path: artifacts/arm64 + path: artifacts - name: Prepare Docker context run: | - mkdir -p docker/amd64 docker/arm64 - tar -xzf artifacts/amd64/${{ env.BINARY_NAME }}-*.tar.gz -C docker/amd64 - tar -xzf artifacts/arm64/${{ env.BINARY_NAME }}-*.tar.gz -C docker/arm64 - + tar -xzf artifacts/${{ env.BINARY_NAME }}-*.tar.gz -C docker - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 @@ -185,7 +167,6 @@ jobs: uses: docker/build-push-action@v5 with: context: ./docker - platforms: linux/amd64,linux/arm64 push: true tags: | rustmailer/bichon:${{ github.ref_name }}