Skip to content

Commit

Permalink
Adding label env var
Browse files Browse the repository at this point in the history
  • Loading branch information
timryanb committed Oct 24, 2023
1 parent 26ea06f commit e3221fe
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/deploy_conda_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,13 @@ jobs:
echo "TACS_DIR=${GITHUB_WORKSPACE}" >> $GITHUB_ENV;
export ANACONDA_API_TOKEN=${{ secrets.ANACONDA_TOKEN }};
export BUILD_ARGS="--no-include-recipe ${{ matrix.EXTRA_ARGS }}";
if [[ ${{ matrix.SCALAR }} == "complex" ]]; then
export LABEL="complex"
elif [[ ${{ matrix.SCALAR }} == "real" ]]; then
export LABEL="main"
fi
conda install anaconda-client conda-build conda-verify -q -y;
conda config --set anaconda_upload no;
cd ${TACS_DIR}/conda;
conda build --variants "{scalar: ${{ matrix.SCALAR }}}" -c conda-forge -c smdogroup $BUILD_ARGS --output-folder . .;
anaconda upload --label ${{ matrix.LABEL }}} ${{ matrix.TARGET }}/*.tar.bz2 --force;
anaconda upload --label LABEL ${{ matrix.TARGET }}/*.tar.bz2 --force;

0 comments on commit e3221fe

Please sign in to comment.