Skip to content

Commit

Permalink
Disabled publish to beveradb conda channel for now; it's mostly redun…
Browse files Browse the repository at this point in the history
…dant since conda-forge builds new releases too
  • Loading branch information
beveradb committed Feb 5, 2024
1 parent 8d95f6a commit 27e342c
Showing 1 changed file with 42 additions and 42 deletions.
84 changes: 42 additions & 42 deletions .github/workflows/publish-to-conda.yml
Original file line number Diff line number Diff line change
@@ -1,44 +1,44 @@
name: publish-to-conda
# name: publish-to-conda

on:
push:
branches:
- main
paths:
- pyproject.toml
- conda/meta.yaml
workflow_dispatch:
# on:
# push:
# branches:
# - main
# paths:
# - pyproject.toml
# - conda/meta.yaml
# workflow_dispatch:

jobs:
conda_deployment_with_new_tag:
name: Conda deployment of package with Python ${{ matrix.python-version }}
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Conda environment creation and activation
uses: conda-incubator/setup-miniconda@v3
with:
python-version: ${{ matrix.python-version }}
environment-file: conda/build_env.yaml
channels: conda-forge,pytorch
mamba-version: "*"
use-mamba: true
auto-update-conda: false
auto-activate-base: false
show-channel-urls: true
- name: Build and upload the conda packages
uses: uibcdf/[email protected]
with:
meta_yaml_dir: conda
python-version: ${{ matrix.python-version }} # Values previously defined in `matrix`
platform_linux-64: true
platform_osx-64: true
platform_win-64: true
user: beveradb
label: "main"
token: ${{ secrets.ANACONDA_TOKEN }} # Replace with the right name of your secret
# jobs:
# conda_deployment_with_new_tag:
# name: Conda deployment of package with Python ${{ matrix.python-version }}
# runs-on: ubuntu-latest
# strategy:
# matrix:
# python-version: ["3.10"]
# steps:
# - uses: actions/checkout@v3
# with:
# fetch-depth: 0
# - name: Conda environment creation and activation
# uses: conda-incubator/setup-miniconda@v3
# with:
# python-version: ${{ matrix.python-version }}
# environment-file: conda/build_env.yaml
# channels: conda-forge,pytorch
# mamba-version: "*"
# use-mamba: true
# auto-update-conda: false
# auto-activate-base: false
# show-channel-urls: true
# - name: Build and upload the conda packages
# uses: uibcdf/[email protected]
# with:
# meta_yaml_dir: conda
# python-version: ${{ matrix.python-version }} # Values previously defined in `matrix`
# platform_linux-64: true
# platform_osx-64: true
# platform_win-64: true
# user: beveradb
# label: "main"
# token: ${{ secrets.ANACONDA_TOKEN }} # Replace with the right name of your secret

0 comments on commit 27e342c

Please sign in to comment.