Skip to content

Commit

Permalink
figure out paths one OS at a time
Browse files Browse the repository at this point in the history
  • Loading branch information
eberrigan committed Apr 16, 2024
1 parent bb5403a commit 4d43542
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/build_manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,24 +83,28 @@ jobs:
shell: bash -l {0}
run: |
conda build .conda --output-folder build
echo "Listing contents of the build directory:"
ls -l $(pwd)/build
echo "BUILD_PATH=$(pwd)/build" >> $GITHUB_ENV
echo "Build path set for Ubuntu: $BUILD_PATH"
# Build conda package (Windows)
- name: Build conda package (Windows)
if: matrix.os == 'windows-2022'
shell: powershell
run: |
conda build .conda --output-folder build
echo "BUILD_PATH=$(pwd -PathType Unix)/build" >> $GITHUB_ENV
echo "Build path set for Windows: $BUILD_PATH"
# # Build conda package (Windows)
# - name: Build conda package (Windows)
# if: matrix.os == 'windows-2022'
# shell: powershell
# run: |
# conda build .conda --output-folder build
# echo "BUILD_PATH=%(pwd)/build%"


# Build conda package (Mac)
- name: Build conda package (Mac)
if: matrix.os == 'macos-14'
shell: bash -l {0}
run: |
conda build .conda_mac --output-folder build
echo "Listing contents of the build directory:"
ls -l $(pwd)/build
echo "BUILD_PATH=$(pwd)/build" >> $GITHUB_ENV
echo "Build path set for Mac: $BUILD_PATH"
Expand Down

0 comments on commit 4d43542

Please sign in to comment.