Skip to content

Commit

Permalink
Fix conda recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
romainsacchi committed May 8, 2023
1 parent d8dee47 commit c765cf8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,14 @@ jobs:

conda:
name: (${{ matrix.python-version }}, ${{ matrix.os }})
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
needs: build

strategy:
fail-fast: false
matrix:
python-version: ["3.10"]
os: [ "ubuntu-latest" ]
python-version: [ "3.9" ]
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
Expand All @@ -97,7 +98,6 @@ jobs:
allow-softlinks: true
channel-priority: strict
auto-update-conda: true
conda-build-version: 3.21.4
activate-environment: test

- name: Conda info
Expand All @@ -112,6 +112,7 @@ jobs:
PKG_NAME=carculator_truck
USER=romainsacchi
conda install anaconda-client
conda install conda-build
mkdir ~/conda-bld
conda config --set anaconda_upload no
export CONDA_BLD_PATH=~/conda-bld
Expand All @@ -120,6 +121,7 @@ jobs:
ls $CONDA_BLD_PATH/noarch/
anaconda -t ${{ secrets.ANACONDA_CLOUD }} upload -u $USER $CONDA_BLD_PATH/noarch/$PKG_NAME-$VERSION-py_0.tar.bz2 --force
Pypi:
runs-on: ubuntu-latest
needs: build
Expand Down

0 comments on commit c765cf8

Please sign in to comment.