diff --git a/.copier-answers.yaml b/.copier-answers.yaml index cd0aa44..2474e3f 100644 --- a/.copier-answers.yaml +++ b/.copier-answers.yaml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier -_commit: 9b3c202 +_commit: 19e0124 _src_path: https://github.com/python-project-templates/base.git add_docs: true add_extension: cpp diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 71d49d7..6b19d2f 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -71,7 +71,7 @@ jobs: - name: Install dependencies run: | - call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat" + for /f "usebackq tokens=*" %%i in (`vswhere -latest -products * -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -property installationPath`) do call "%%i\VC\Auxiliary\Build\vcvars64.bat" make develop shell: cmd if: matrix.os == 'windows-latest' @@ -101,7 +101,7 @@ jobs: if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11' - name: Upload coverage - uses: codecov/codecov-action@e79a6962e0d4c0c17b229090214935d2e33f8354 # v6.0.1 + uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0 with: token: ${{ secrets.CODECOV_TOKEN }} @@ -131,12 +131,12 @@ jobs: - name: Make dist (Windows) run: | if exist dist rmdir /s /q dist - call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat" + for /f "usebackq tokens=*" %%i in (`vswhere -latest -products * -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -property installationPath`) do call "%%i\VC\Auxiliary\Build\vcvars64.bat" make dist-py-wheel shell: cmd env: CIBW_BUILD: "${{ matrix.cibuildwheel }}-win_amd64" - CIBW_BEFORE_ALL: call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat" + CIBW_BEFORE_ALL: for /f "usebackq tokens=*" %i in (`vswhere -latest -products * -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -property installationPath`) do call "%i\VC\Auxiliary\Build\vcvars64.bat" if: matrix.os == 'windows-latest' - uses: actions-ext/python/test-wheel@main