File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,6 +25,8 @@ elif grep -q "macos-15-intel" <<< "$GHA_CI_PLATFORM"; then
2525 ARCH=" 64"
2626fi
2727
28+ echo " CONDA_SUBDIR=\" ${CONDA_PLAT} -${ARCH} \" " >> $GITHUB_ENV
29+
2830conda build recipe --clobber-file recipe/recipe_clobber.yaml --output-folder packages -m " .ci_support/${CONDA_PLAT} _${ARCH} _.yaml"
2931conda create -y -n test -c ./packages/${CONDA_PLAT} -${ARCH} python libgdal gdal
3032conda deactivate
Original file line number Diff line number Diff line change 88 exit 1
99fi
1010
11+ if [ -z " ${CONDA_SUBDIR+x} " ]; then
12+ echo " CONDA_SUBDIR is not set!"
13+ exit 1
14+ fi
15+
1116ls
1217pwd
1318find .
@@ -31,8 +36,8 @@ for f in $files; do
3136 # extract version number (e.g. 3.12.99)
3237 version=$( echo " $filename " | sed -E ' s/^.+-([0-9]+\.[0-9]+\.[0-9]+).*/\1/' )
3338
34- echo " Removing gdal-master/$pkg /$version "
35- anaconda -t " $ANACONDA_TOKEN " remove -f " gdal-master/$pkg /$version " || true
39+ echo " Removing gdal-master/$pkg /$version / $CONDA_SUBDIR "
40+ anaconda -t " $ANACONDA_TOKEN " remove -f " gdal-master/$pkg /$version / $CONDA_SUBDIR " || true
3641
3742 echo " Uploading $filename "
3843 anaconda -t " $ANACONDA_TOKEN " upload --force --no-progress --user gdal-master " $f "
You can’t perform that action at this time.
0 commit comments