From 3a4ba3aa89e65877f3ccf807ba074da9da999103 Mon Sep 17 00:00:00 2001 From: Timothy Johnson Date: Thu, 2 Nov 2023 18:57:47 -0400 Subject: [PATCH] Try to fix windows arm64 build Signed-off-by: Timothy Johnson --- .github/workflows/secrets-sdk.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/secrets-sdk.yml b/.github/workflows/secrets-sdk.yml index bff66e02..10b17c2f 100644 --- a/.github/workflows/secrets-sdk.yml +++ b/.github/workflows/secrets-sdk.yml @@ -66,16 +66,25 @@ jobs: steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 + if: ${{ matrix.target != 'aarch64' }} with: python-version: "3.10" architecture: ${{ matrix.target }} - name: Build wheels uses: PyO3/maturin-action@v1 + if: ${{ matrix.target != 'aarch64' }} with: target: ${{ matrix.target }} args: --release --out dist --interpreter python3.7 python3.8 python3.9 python3.10 python3.11 python3.12 sccache: "true" working-directory: src/secrets/zowe/secrets_for_zowe_sdk + - name: Build wheels + uses: PyO3/maturin-action@v1 + if: ${{ matrix.target == 'aarch64' }} + with: + target: ${{ matrix.target }} + args: --release --out dist --find-interpreter --no-default-features + working-directory: src/secrets/zowe/secrets_for_zowe_sdk - name: Upload wheels uses: actions/upload-artifact@v3 with: