From 2be72541aa9b10b7886610fde2b88a3903c264b8 Mon Sep 17 00:00:00 2001 From: pavlovicmilena Date: Tue, 31 Oct 2023 22:43:59 +0100 Subject: [PATCH] update publish-dev-to-conda.yml --- .github/workflows/publish-dev-to-conda.yml | 23 +++++++--------------- 1 file changed, 7 insertions(+), 16 deletions(-) diff --git a/.github/workflows/publish-dev-to-conda.yml b/.github/workflows/publish-dev-to-conda.yml index 9073d1456..6b605296d 100644 --- a/.github/workflows/publish-dev-to-conda.yml +++ b/.github/workflows/publish-dev-to-conda.yml @@ -6,9 +6,12 @@ on: - nar jobs: - prepare_conda_meta_from_pypi: - name: Make conda package from PyPI + build_package_and_deploy_to_conda: + name: Conda deployment of package with Python ${{ matrix.python-version }} runs-on: ubuntu-latest + strategy: + matrix: + python-version: [ "3.8" ] steps: - uses: actions/checkout@v4 - name: Build conda meta.yaml from PyPI package @@ -18,31 +21,19 @@ jobs: conda config --add channels conda-forge conda config --add channels bioconda python3 scripts/update_conda_meta_file.py - - build_package_and_deploy_to_conda: - name: Conda deployment of package with Python ${{ matrix.python-version }} - runs-on: ubuntu-latest - needs: [ prepare_conda_meta_from_pypi ] - strategy: - matrix: - python-version: [ "3.8" ] - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - run: ls -l - name: Conda environment creation and activation uses: conda-incubator/setup-miniconda@v2 with: python-version: ${{ matrix.python-version }} - environment-file: ../immuneml-dev/meta.yaml + environment-file: immuneml-dev/meta.yaml auto-update-conda: false auto-activate-base: false show-channel-urls: true - name: Build and upload the conda packages uses: uibcdf/action-build-and-upload-conda-packages@v1.2.0 with: - meta_yaml_dir: ../immuneml-dev + meta_yaml_dir: immuneml-dev python-version: ${{ matrix.python-version }} platform_linux-64: true platform_osx-64: false