From 72fb5bf0658dec33c6513e431b5e0ad1dbae995c Mon Sep 17 00:00:00 2001 From: roomrys <38435167+roomrys@users.noreply.github.com> Date: Wed, 11 Sep 2024 21:15:53 -0700 Subject: [PATCH] Use powershell to build Windows packages --- .github/workflows/build_tensorflow.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_tensorflow.yml b/.github/workflows/build_tensorflow.yml index 7089c9c..27e0d0b 100644 --- a/.github/workflows/build_tensorflow.yml +++ b/.github/workflows/build_tensorflow.yml @@ -57,8 +57,14 @@ jobs: conda info conda list - - name: Build conda package - if: env.RUN_BUILD_JOB == 'true' + - name: Build conda package (${{ matrix.os }}) + if: (${{ runner.os }} == 'Windows' ) && (env.RUN_BUILD_JOB == 'true') + shell: powershell + run: | + conda build --debug ${{ matrix.build-folder }} --output-folder build.tensorflow -c conda-forge + + - name: Build conda package (${{ matrix.os }}) + if: (${{ runner.os }} != 'Windows' ) && (env.RUN_BUILD_JOB == 'true') shell: bash -l {0} run: | conda build --debug ${{ matrix.build-folder }} --output-folder build.tensorflow -c conda-forge