Skip to content

Commit

Permalink
Fix issue where certain directories were missing if build-noarch-cond…
Browse files Browse the repository at this point in the history
…a-pkgs job is skipped (releases).
  • Loading branch information
mrclary committed Nov 5, 2022
1 parent 510c624 commit 04be673
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/installers-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,15 @@ jobs:

- name: Create Local Conda Channel
run: |
ARTIFACT_PATH=$HOME/artifacts
CONDA_BLD_PATH=$HOME/conda-bld
[[ -d $ARTIFACT_PATH ]] || mkdir $ARTIFACT_PATH
[[ -d $CONDA_BLD_PATH ]] || mkdir $CONDA_BLD_PATH
echo "CONDA_BLD_PATH=$CONDA_BLD_PATH" >> $GITHUB_ENV
files=($(find $PWD/artifacts -name *.tar.bz2))
files=($(find $ARTIFACT_PATH -name *.tar.bz2))
echo ${files[@]}
cd $(dirname $CONDA_BLD_PATH)
for file in ${files[@]}; do
Expand All @@ -142,7 +147,7 @@ jobs:
mamba index $CONDA_BLD_PATH
mamba search -c $CONDA_BLD_PATH --override-channels
mamba search -c $CONDA_BLD_PATH --override-channels || true
- name: Build ${{ matrix.target-platform }} conda packages
run: |
Expand Down

0 comments on commit 04be673

Please sign in to comment.