From 38a85b21124f404b7003970c6c34039749efbca8 Mon Sep 17 00:00:00 2001 From: Nicolas Patry Date: Fri, 24 Dec 2021 08:05:09 +0100 Subject: [PATCH] Last touches for conda hopefully - Missng env activation for many linux + upload --- .github/workflows/python-release-conda.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/python-release-conda.yml b/.github/workflows/python-release-conda.yml index 5644a1629..3427d4f56 100644 --- a/.github/workflows/python-release-conda.yml +++ b/.github/workflows/python-release-conda.yml @@ -53,9 +53,11 @@ jobs: conda list conda-build .github/conda --python=${{ matrix.python }} - # - name: Upload to Anaconda - # run: anaconda upload `conda-build .github/conda --output` --force - # + - name: Upload to Anaconda + shell: bash -l {0} + run: | + anaconda upload `conda-build .github/conda --output` --force + build_and_package_linux: runs-on: ubuntu-18.04 container: quay.io/pypa/manylinux2014_x86_64 @@ -123,4 +125,7 @@ jobs: conda-build .github/conda --python=${{ matrix.python }} - name: Upload to Anaconda - run: anaconda upload `conda-build .github/conda --output` --force + shell: bash -l {0} + run: | + source $HOME/miniconda/bin/activate + anaconda upload `conda-build .github/conda --output` --force