-
Notifications
You must be signed in to change notification settings - Fork 246
33 lines (31 loc) · 1.02 KB
/
conda_publish.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# ----------------------------------------------------------------------------
# Copyright (C) 2021-2023 Deepchecks (https://www.deepchecks.com)
#
# This file is part of Deepchecks.
# Deepchecks is distributed under the terms of the GNU Affero General
# Public License (version 3 or later).
# You should have received a copy of the GNU Affero General Public License
# along with Deepchecks. If not, see <http://www.gnu.org/licenses/>.
# ----------------------------------------------------------------------------
#
name: publish_conda
on:
push:
tags:
- "[0-9]+.[0-9]+.[0-9]+"
jobs:
conda-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up conda env
uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
python-version: 3.9
conda-build-version: 3.21.7
- name: publish-to-conda
uses: maxibor/conda-package-publish-action@v1.1
with:
subDir: 'conda-recipe'
AnacondaToken: ${{ secrets.ANACONDA_TOKEN }}