File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5555
5656 - name : publish
5757 uses : pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0
58+
59+ publish-to-conda :
60+ name : Publish to Conda
61+ if : startsWith(github.ref, 'refs/tags/')
62+ needs :
63+ - publish-to-pypi
64+ runs-on : conda/miniconda3:latest
65+ environment : conda
66+ steps :
67+ - name : Install conda requirements
68+ run : |
69+ conda install anaconda-client conda-build
70+
71+ - name : Install Grayskull
72+ run : |
73+ conda install -c conda-forge grayskull=3.1.0
74+
75+ - name : Build conda metadata
76+ run : |
77+ conda grayskull pypi data-validation-engine
78+
79+ - name : Build Conda packages
80+ run : |
81+ conda config --set anaconda_upload no
82+ conda build . -c conda-forge --output-folder ./conda_dist/
83+
84+ - name : upload dist
85+ env :
86+ ANACONDA_TOKEN = ${{ secrets.ANACONDA_TOKEN }}
87+ run : |
88+ anaconda upload conda_dist/*.tar.bz2 --token "$ANACONDA_TOKEN" --user "$ANACONDA_USER"
89+ anaconda upload conda_dist/*.conda --token "$ANACONDA_TOKEN" --user "$ANACONDA_USER"
Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ spark-warehouse/*
1717build /
1818develop-eggs /
1919dist /
20+ conda_dist /
21+ data-validation-engine /
2022downloads /
2123eggs /
2224.eggs /
@@ -109,7 +111,7 @@ celerybeat.pid
109111
110112# Environments
111113.env
112- .venv
114+ .venv *
113115env /
114116venv /
115117ENV /
You can’t perform that action at this time.
0 commit comments