Skip to content

Commit

Permalink
update publish-dev-to-conda.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pavlovicmilena committed Oct 31, 2023
1 parent 58fb89e commit 2be7254
Showing 1 changed file with 7 additions and 16 deletions.
23 changes: 7 additions & 16 deletions .github/workflows/publish-dev-to-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 2be7254

Please sign in to comment.