Skip to content

Commit

Permalink
Update publish_conda.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
RRobert92 committed May 9, 2024
1 parent 0cda384 commit 35c19df
Showing 1 changed file with 8 additions and 27 deletions.
35 changes: 8 additions & 27 deletions .github/workflows/publish_conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,32 +6,13 @@ on:
types: [published]

jobs:
conda_deployment_with_new_tag:
name: Conda deployment of package with Python ${{ matrix.python-version }}
publish:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Conda environment creation and activation
uses: conda-incubator/setup-miniconda@v2
with:
python-version: ${{ matrix.python-version }}
environment-file: conda-build/conda_build_config.yml
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.3.0
with:
meta_yaml_dir: conda-build
python-version: ${{ matrix.python-version }}
platform_linux-64: true
platform_osx-64: true
platform_win-64: true
user: RRobert92
label: auto
token: ${{ secrets.ANACONDA_TOKEN }} # Replace with the right name of your secret
- uses: actions/checkout@v2
- name: publish-to-conda
uses: fcakyon/conda-publish-action@v1.3
with:
subdir: 'conda-build'
anacondatoken: ${{ secrets.ANACONDA_TOKEN }}
platforms: 'win osx linux'

0 comments on commit 35c19df

Please sign in to comment.