File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed
Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -99,11 +99,16 @@ jobs:
9999 ANACONDA_USER : ${{ secrets.ANACONDA_USER }}
100100 VERSION : ${{ steps.vars.outputs.VERSION }}
101101 run : |
102+ # 1) Upload any noarch packages (only once, from any job instance)
103+ if [ "${{ matrix.platform.subdir }}" = "linux-64" ]; then
104+ # The noarch files live under "noarch/"
105+ for PKG_noarch in conda-build-artifacts/noarch/*-${{ env.VERSION }}-*.tar.bz2; do
106+ echo "Uploading noarch package: $PKG_noarch"
107+ anaconda -t $ANACONDA_TOKEN upload "$PKG_noarch" --user $ANACONDA_USER --label main --force
108+ fi
109+
110+ # 2) Upload the arch-specific C++ package (this job’s platform)
102111 for PKG in conda-build-artifacts/${{ matrix.platform.subdir }}/*-${{ env.VERSION }}-*.tar.bz2; do
103112 echo "Uploading $PKG"
104113 anaconda -t $ANACONDA_TOKEN upload "$PKG" --user $ANACONDA_USER --label main --force
105- done
106- for PKG in conda-build-artifacts/noarch/*-${{ env.VERSION }}-*.tar.bz2; do
107- echo "Uploading $PKG"
108- anaconda -t $ANACONDA_TOKEN upload "$PKG" --user $ANACONDA_USER --label main --force
109114 done
You can’t perform that action at this time.
0 commit comments