From aa946351d5ee2c01d42829b0843a51101a63c72c Mon Sep 17 00:00:00 2001 From: Marquess Valdez Date: Thu, 1 Aug 2024 13:02:21 -0700 Subject: [PATCH] build: Add long path support to windows builds --- .github/workflows/release-python.yml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release-python.yml b/.github/workflows/release-python.yml index 3a65d0fb2..253d2ace3 100644 --- a/.github/workflows/release-python.yml +++ b/.github/workflows/release-python.yml @@ -83,13 +83,16 @@ jobs: package-name: qcs-sdk-python-grpc-web maturin-target: ${{ matrix.target }} - windows: - runs-on: windows-latest + windows: + runs-on: windows-latest needs: [is-python-release, should-publish-wheels] - strategy: - matrix: + strategy: + matrix: package-name: [qcs-sdk-python, qcs-sdk-python-grpc-web] steps: + - name: Enable long path support + run: | + reg add "HKLM\SYSTEM\CurrentControlSet\Control\FileSystem" /v LongPathsEnabled /t REG_DWORD /d 1 /f - uses: actions/checkout@v2 - name: Install protoc uses: arduino/setup-protoc@v1 @@ -107,8 +110,8 @@ jobs: needs: is-python-release env: CXXFLAGS: "-std=c++11" - strategy: - matrix: + strategy: + matrix: package-name: [qcs-sdk-python, qcs-sdk-python-grpc-web] steps: - uses: actions/checkout@v2 @@ -135,8 +138,8 @@ jobs: if: always() && needs.sdist.result == 'success' permissions: id-token: write - strategy: - matrix: + strategy: + matrix: package-name: [qcs-sdk-python, qcs-sdk-python-grpc-web] steps: - uses: actions/download-artifact@v3